Let,cthe sides $PS$ and $ QR$ intersects each other at point $O$ then $\angle POQ=90^\circ$ and then use right angled triangle formulas .