Let PQRS be a square with side length 10. The points X and Y lie outside the square such that XQ = 6, XP = 8, YS = 6, and YR = 8. Find XY^2.
Using right triangles and Pythagoras, we get that XY^2 = 412.