22: The right formula can be obtained using similarity of triangles.
Differentiation gives
The moment the question asks about is when x = 5. Since the rate is negative, the shadow is getting smaller.
Answer