A view is the projection of the rod on a plane, made by lines perpendicular to that plane.
(i) In the front view (on the vertical plane), we look from the front, so the 20 cm towards the back cannot be seen. Only the rise shows: the front view is a vertical line 21 cm long.
(ii) In the top view (on the horizontal plane), we look from above, so the rise cannot be seen. Only the 20 cm towards the back shows: the top view is a line 20 cm long.
(iii) In the side view (on the side plane), we look from the right. Both the rise and the movement towards the back show, and nothing is lost because the rod has no left-right shift. The side view is the full slanting rod:
212+202=441+400=841=292
So the side view is 29 cm, the true length. The side view shows the true length because the rod is parallel to the side plane; a projection equals the true length only when the line is parallel to the plane.