Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

3*(1/5*x-1)+5 == 7*x-14
algebra.equations.linear.balance.distribute
3/5*x+2 == 7*x-14
algebra.equations.linear.balance.remove-div, factor=5
3*x+10 == 35*x-70
algebra.equations.linear.balance.var-right-minus, term=3*x
10 == 32*x-70
algebra.equations.linear.balance.con-left-plus, term=70
80 == 32*x
algebra.equations.linear.balance.scale-to-one, factor=32
5/2 == x
algebra.equations.linear.flip
x == 5/2