Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Derivation
3 == 10*(1/2*x+3/2)-x
⇒ algebra.equations.linear.flip10*(1/2*x+3/2)-x == 3
⇒ algebra.equations.linear.balance.distribute5*x+15-x == 3
⇒ algebra.equations.linear.balance.collect4*x+15 == 3
⇒ algebra.equations.linear.balance.con-right-minus, term=154*x == -12
⇒ algebra.equations.linear.balance.scale-to-one, factor=4x == -3