Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Derivation
-13 == -29*x+3*(3*x-6)
⇒ algebra.equations.linear.flip-29*x+3*(3*x-6) == -13
⇒ algebra.equations.linear.balance.distribute-29*x+9*x-18 == -13
⇒ algebra.equations.linear.balance.collect-20*x-18 == -13
⇒ algebra.equations.linear.balance.con-right-plus, term=18-20*x == 5
⇒ algebra.equations.linear.balance.scale-to-one, factor=-20x == -1/4