Angle pqr is a right angle.
The measure of angle sqr is 50 .
The measure of angle pqs is x .
What is the value of x ?