We need to find the value of x.
If R is on the interior of of <QPS, then m<QPR + m<RPS = m<QPS.
Now substitute the measures into the equation.
9x + 16 + 8x + 7 = 40.
Now combine like terms to get 17x + 23 = 40.
Now subtract 23 form both sides to get 17x = 17.
Now divide both sides by 17 to find that x = 1.
Now to find m<QPR which measures 9x + 16°, we can substitute in a 1.
So we have 9(1) + 16 which is 25.
So m<QPR is 25°.