Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

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