In △PQR\triangle{PQR}△PQR, ∠R=90∘\angle{R} = 90^{\circ}∠R=90∘ and PQ=10PQ = 10PQ=10. Squares PQXYPQXYPQXY and PRWZPRWZPRWZ are constructed outside of the triangle. The points X,Y,ZX, Y, ZX,Y,Z, and WWW lie on a circle. What is the perimeter of the triangle?