
Patrick B. answered 06/03/19
Math and computer tutor/teacher
x^2 + (x+6)^2 = 38^2
x^2 + x^2 + 12x + 36 = 1444
2x^2 + 12x - 1408 = 0
x^2 + 6x - 704 = 0
x = sqrt(713)-3
sqrt(713)-3 and sqrt(713)+3
check:
[sqrt(713)-3 ]^2 + [ sqrt(713) + 3]^2 =
713 - 6*sqrt(713) + 9 + 713 + 6 * sqrt(713) + 9 = 1444 = 38^2
23.702059845637377344148367706596...
and
29.702059845637377344148367706596