How do I write this equation? Pls help ASP

This is a question about angles and equations! Let's see how to solve this.
The angle [tex]\angle PQR[/tex] is the sum of the angles [tex]\angle MQR[/tex] and [tex]\angle PQM[/tex]. So, we can do a equation with this information and solve it:
[tex]\angle PQR = \angle MQR + \angle PQM\\\\138x -1 = 115 + 23x -1\\138x - 23x = 115 + 1 - 1\\115x = 115\\x=\frac{115}{115} \\x= 1[/tex]
Therefore, the value of x is 1.