Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

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