You basically have a right triangle. the standing man is the vertical line, the shadow is the horizontal line and the 62 degrees is the angle betweenthe horizontal line and the hypotenuse.
So, relative to the angle we have the adjacent angle and opposite. What uses those? Tangent. tan(x) = opp / adj
The total length of the ribbon used is expressed as r and is a product of the number of gifts (g) and the length of ribbon tied in each gift. This relationship may be expressed by the equation, r = (25) x (g)