Answer
$x=14$
Work Step by Step
The diagram tells us that $m\angle NQM=m\angle PQR$. Therefore, we should equate the given expressions for these two angles and solve the resulting equation using the properties of equality: $$2x+8=x+22$$$$2x-x=22-8$$$$x=14$$