PLS HELP :( i’ve been trying to understand this but i cant. please explain this if you know how to do it pleaseee

Answer:
[tex]\huge\boxed{\sf x = 17}[/tex]
Step-by-step explanation:
Since m is a straight line, its measure is 180 degrees.
So,
2x + 5 + 8x + 5 = 180
2x + 8x + 5 + 5 = 180
10x + 10 = 180
10x = 180 - 10
10x = 170
Divide both sides by 10
x = 17
[tex]\rule[225]{225}{2}[/tex]
Hope this helped!