Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

3 == 10*(1/2*x+3/2)-x
algebra.equations.linear.flip
10*(1/2*x+3/2)-x == 3
algebra.equations.linear.balance.distribute
5*x+15-x == 3
algebra.equations.linear.balance.collect
4*x+15 == 3
algebra.equations.linear.balance.con-right-minus, term=15
4*x == -12
algebra.equations.linear.balance.scale-to-one, factor=4
x == -3