How to solve the equation of 10x + 20 (x-3.5) = 80?

How to solve the equation of 10x + 20 (x-3.5) = 80?


10x+20(x-3.5)=80
10x+20x-70=80
30x=80+70
30x=150
x=5



How to solve the equation of 10x-5 (10-x) = 70


10x-5(10-x)=70
10x-50+5x=70
10x+5x=70+50
15x=120
x=120/15
x=8