Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

1/2*x-4 == 2*x+2[1/2]
algebra.equations.linear.balance.remove-div, factor=2
x-8 == 4*x+5
algebra.equations.linear.balance.var-right-minus, term=x
-8 == 3*x+5
algebra.equations.linear.balance.con-left-minus, term=5
-13 == 3*x
algebra.equations.linear.balance.scale-to-one, factor=3
-13/3 == x
algebra.equations.linear.flip
x == -13/3