How to solve two equations of X, for example: (1 + 20%) x = 2 (X-10) I will only calculate 1.2x = 2x-20

How to solve two equations of X, for example: (1 + 20%) x = 2 (X-10) I will only calculate 1.2x = 2x-20

1.2x = 2x-20
2x-1.2x=20
0.8x=20
x=20/0.8
=25