Can you solve this?
Points $X$, $Y$, and $Z$ are on the sides $\overline{QR}$, $\overline{PR}$, and $\overline{PQ}$, respectively, of right triangle $PQR$ such that $PZXY$ is a square. If $PQ = 6$ and $PR = 6$, then what is the side length of the square?