a) Find the work done by the tension force on the elevator (in J).

b) Find the work done by the force of gravity on the elevator (in J).

I know I have to apply the equation for the work done by a constant force during a linear displacement, W = (Fcos(theta))d.

Where do I get the value of cos theta?