Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

2*x-(2*x+2)/5 == 12+(x-1)/6
algebra.equations.linear.balance.remove-div, factor=30
60*x+6*(-2*x-2) == 360+5*(x-1)
algebra.equations.linear.balance.distribute
60*x-12*x-12 == 360+5*x-5
algebra.equations.linear.balance.collect
48*x-12 == 355+5*x
algebra.equations.linear.balance.var-left-minus, term=5*x
43*x-12 == 355
algebra.equations.linear.balance.con-right-plus, term=12
43*x == 367
algebra.equations.linear.balance.scale-to-one, factor=43
x == 367/43