Solve for A A^2+2^2=5^2