Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Derivation
4*x-x+2 == 12+5*x-5
⇒ algebra.equations.linear.balance.collect3*x+2 == 7+5*x
⇒ algebra.equations.linear.balance.var-right-minus, term=3*x2 == 7+2*x
⇒ algebra.equations.linear.balance.con-left-minus, term=7-5 == 2*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=2-5/2 == x
⇒ algebra.equations.linear.flipx == -5/2