Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

3+5/2*(x-1) == 3/4*x-(x-1)
algebra.equations.linear.balance.distribute
3+5/2*x-5/2 == 3/4*x-x+1
algebra.equations.linear.balance.remove-div, factor=4
12+10*x-10 == 3*x-4*x+4
algebra.equations.linear.balance.collect
2+10*x == -x+4
algebra.equations.linear.balance.var-left-plus, term=x
2+11*x == 4
algebra.equations.linear.balance.con-right-minus, term=2
11*x == 2
algebra.equations.linear.balance.scale-to-one, factor=11
x == 2/11