Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Derivation
-3*x+3*(2*x-5) == 4*(4*x-1)-2
⇒ algebra.equations.linear.balance.distribute-3*x+6*x-15 == 16*x-6
⇒ algebra.equations.linear.balance.collect3*x-15 == 16*x-6
⇒ algebra.equations.linear.balance.var-right-minus, term=3*x-15 == 13*x-6
⇒ algebra.equations.linear.balance.con-left-plus, term=6-9 == 13*x
⇒ algebra.equations.linear.balance.scale-to-one, factor=13-9/13 == x
⇒ algebra.equations.linear.flipx == -9/13