10p + 9 - 11 - p = -2(2p + 4) - 3(2p - 2)
9p - 2 = -4p - 8 - 6p + 6
9p - 2 = -10p - 2
9p + 10p = -2 + 2
19p = 0
p = 0 <===
Subtract 35 from both sides in order to eliminate it from the left, then multply both sides by 5 in order to solve for x.
So you got
z²+y²=25² and
17²+x²=z²
x²+6²=y²
nice, so we have z² and y² all in terms of x
17²+x²+x²+6²=25²
2x²+289+36=625
2x²=300
x²=150
x=5√6
if we input back to find y and z
17²+x²=z², 287+150=z², √439 =z
x²+6²=y², 150+36=y², √186=y (not simplifying because no graphing calculator, so just eimplify yourself)
The greatest common factor is 3