I need #7 done (show work) will give brainliest

Answer:
see explanation
Step-by-step explanation:
(7)
∠ RPS + ∠ QPR = ∠ QPS , substitute values
8x + 7 + 9x + 16 = 40 , that is
17x + 23 = 40 ( subtract 23 from both sides )
17x = 17 ( divide both sides by 17 )
x = 1