Solution 1
∠SRQ is an exterior angle of △PQR.
Thus, ∠SRQ=∠RPQ+∠PQR=50∘+90∘=140∘.
Therefore, x∘=140∘ and so x=140.
Solution 2
The sum of the angles of △PQR is 180∘, and so ∠PRQ=180∘−∠RPQ−∠PQR=180∘−50∘−90∘=40∘ Since ∠PRQ and ∠SRQ are supplementary, then x∘+40∘=180∘, and so x=180−40=140.