Answer:
W = F x D
The work you put into a machine -- the input force -- is the force you apply times the distance you apply it. The work done by the machine equals the resisting weight times the distance it moves when you perform the work.
Explanation: