Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Derivation
3*x-(5*x-1)/4 == 1-1/3*(4*x+2)
⇒ algebra.equations.linear.balance.remove-div, factor=1236*x+3*(-5*x+1) == 12-4*(4*x+2)
⇒ algebra.equations.linear.balance.distribute36*x-15*x+3 == 12-16*x-8
⇒ algebra.equations.linear.balance.collect21*x+3 == 4-16*x
⇒ algebra.equations.linear.balance.var-left-plus, term=16*x37*x+3 == 4
⇒ algebra.equations.linear.balance.con-right-minus, term=337*x == 1
⇒ algebra.equations.linear.balance.scale-to-one, factor=37x == 1/37