Examining the given diagram, we can see that ∠ PQS and ∠ SQR are adjacentcongruent angles. This means that QS forms a bisector of ∠ PQR.
According to the Angle Bisector Theorem, if a point lies on the bisector of an angle, then it is equidistant from the two sides of the angle. Therefore, PS=RS. This allows us to write an equation.
PS=RS ⇒ 6x+5=9x-4
Let's solve it.