Points X, Y, and Z are on the sides QR , PR, and PQ respectively, of right triangle PQR such that PZXY is a square. If PQ=12 and PR = \(10\), then what is the side length of the square?