Hey!
Formula for calculating work = Force × distance
Work done = Force applied on the object × distance travelled by it.
Hope it helps...!!!
The energy carried by a single photon is given by

where h is the Planck's constant and f is the frequency of the photon.
The photon of our exercise has a frequency of

, therefore its energy is
Explanation :
It is given that, a heavy box is in the back of a truck and the truck is accelerating to the right.
The description is shown in<em> figure 1</em>. Here, the forces that act on both box and the truck are the normal force, the frictional force and their weight mg.
The free body diagram is shown in <em>figure 2</em>. This shows the total forces ( F = ma )acting on the truck. As a result, the truck will move in a forward direction.
Hence, this is the required explanation.