Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

(-1[2/5])*x+3[1/2] == 3/5*x+9/10
algebra.equations.linear.balance.remove-div, factor=10
-14*x+35 == 6*x+9
algebra.equations.linear.balance.var-right-plus, term=14*x
35 == 20*x+9
algebra.equations.linear.balance.con-left-minus, term=9
26 == 20*x
algebra.equations.linear.balance.scale-to-one, factor=20
13/10 == x
algebra.equations.linear.flip
x == 13/10