Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

(-3*(x+2))/6 == 9*(2/3*x+1/3)-5/3
algebra.equations.linear.balance.remove-div, factor=6
-3*(x+2) == 54*(2/3*x+1/3)-10
algebra.equations.linear.balance.distribute
-3*x-6 == 36*x+8
algebra.equations.linear.balance.var-right-plus, term=3*x
-6 == 39*x+8
algebra.equations.linear.balance.con-left-minus, term=8
-14 == 39*x
algebra.equations.linear.balance.scale-to-one, factor=39
-14/39 == x
algebra.equations.linear.flip
x == -14/39