Use the Pythgorean Thearom and find the hypotenuse remember a^2+b^2=c^2
divide RQ by 2 and divide PQ by 2 then use the Pythgorean Thearom to find ZX
Notice that △RYX∼△XZQ by AA postulate.
Let x be the side length of the square. Then
ZQ=12−xRY=8−xYX=xXZ=x
By similar triangles,
RYYX=XZZQ8−xx=x12−x
Solving this equation gives the required answer.
Ans: Side length = 24/5.
As an exercise, you can try to show that when PQ = a, PR = b, the side length of the square is aba+b.