Use Pythagorean theorem,
[tex]29^2 = 21^2 + x^2 \\\\\implies x^2 = 29^2 -21^2 \\\\\implies x^2 = 400\\\\\implies x = \sqrt{400} = 20[/tex]