What is the value of x?

x^2 + 21^2 = 29^2
x^2 + 441 = 841
x^2 = 841 - 441
x^2 = 400
x = √400
x = 20