Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

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