Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

9*(x+4)-5 == -5*(x+1)
algebra.equations.linear.balance.distribute
9*x+31 == -5*x-5
algebra.equations.linear.balance.var-left-plus, term=5*x
14*x+31 == -5
algebra.equations.linear.balance.con-right-minus, term=31
14*x == -36
algebra.equations.linear.balance.scale-to-one, factor=14
x == -18/7