The work done by the machine is equal to the product between the force applied and the distance over which the force is applieds, so in this case:

And the power of the machine is equal to the ratio between the work done by the machine and the time taken:
