Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

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