Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Derivation
60*x+6*(-2*x-2) == 360+5*(x-1)
⇒ algebra.equations.linear.balance.distribute60*x-12*x-12 == 360+5*x-5
⇒ algebra.equations.linear.balance.collect48*x-12 == 355+5*x
⇒ algebra.equations.linear.balance.var-left-minus, term=5*x43*x-12 == 355
⇒ algebra.equations.linear.balance.con-right-plus, term=1243*x == 367
⇒ algebra.equations.linear.balance.scale-to-one, factor=43x == 367/43