Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

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