Find X. Please break down the steps if possible

Answer: x = 17.5
Step-by-step explanation:
All expressions for the angles as a whole must equal 180 because it is on a line.
so we need to set all the expressions equal to 180 then solve.
4x+2x+30+2x+10=180
combine like terms
(4x+2x+2x) + (30+10) =180
8x + 40 = 180
now subtract 40 from each side
8x=140
isolate the x by dividing each side by 8
x = 17.5