Angle DME and BMQ are equal cause they are opposite angles so you could equate the two to get the value of x. BME is a straight line so after finding the value of the angle BMQ you could do 180-(x+12) = 6y-x-12.
I'm in eight grade so don't assume i'm right. But from looking at this. It looks like x-1=8 and y+1= 28. I'm only doing High School Math 1 in eight grade tho. So if i'm wrong i'm sorry