Solve for x. (Hint: The two add together to equal a straight line)

Answer:
x = 25
Step-by-step explanation:
According to the hint: The two angle measures would add up to 180°.
[tex](5x+10)+(2x-5)=180\\\\5x+10+2x-5=180\\\\5x+2x+10-5=180\\\\7x+5=180\\\\7x+5-5=180-5\\\\7x=175\\\\\frac{7x=175}{7}\\\\\boxed{x=25}[/tex]
Hope this helps.