0.6x-5=0.1x+7
(subtract 0.1 from both the sides)
0.5x - 5 = 7
0.5x = 12 (bring 5 to the other side, then add)
x = 12/0.5
Shift the decimals of both 12 and 0.5 to the right by 1 decimal place. (This is needed to convert 0.5 to 5, since long division must divide by a whole number.)
x = 120/5
x = 24