Help me with thisss please its timed!!! i need help

(2x+10)°+(4x+20)°= 180° ( linear pair)
2x+10+4x+20=180
=6x+30=180 6x=180-30
6x=150
x= 150/6= 25
x=25
2x+10=50+10=60
4x+20=100+20=120
we can check if we did correct if the angles add up to 180 as they are a linear pair