A factory has three workshops, the number of people in the first workshop accounts for 25% of the total number of people in the three workshops, and the number of people in the second workshop is (3/4) that of the third workshop. It is known that the first workshop has 40 fewer people than the second workshop, how many people are there in the three workshops?
某工厂有三个车间，第一个车间的人数占三个车间总人数的25%，第二个车间人数是第三个车间的(3/4)．已知第一车间比第二车间少40人，三个车间一共有多少人？
<gadget id="calculator">25 / 100</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">1 - (1/4)</gadget>
<output>3/4 = around 0.75</output>

<gadget id="calculator">3 + 4</gadget>
<output>7</output>

<gadget id="calculator">3 / 7</gadget>
<output>3/7 = around 0.428571</output>

<gadget id="calculator">(3/4) * (3/7)</gadget>
<output>9/28 = around 0.321429</output>

<gadget id="calculator">(9/28) - (1/4)</gadget>
<output>1/14 = around 0.071429</output>

<gadget id="calculator">40 / (1/14)</gadget>
<output>560</output>

<result>560</result>