Exercise algebra.equations.linear.balance

Description
Solve a linear equation using only balance rules.

Derivation

1/2*(7-2/3*x)-2 == 1/9*x
algebra.equations.linear.balance.remove-div, factor=18
9*(7-2/3*x)-36 == 2*x
algebra.equations.linear.balance.distribute
63-6*x-36 == 2*x
algebra.equations.linear.balance.collect
27-6*x == 2*x
algebra.equations.linear.balance.var-right-plus, term=6*x
27 == 8*x
algebra.equations.linear.balance.scale-to-one, factor=8
27/8 == x
algebra.equations.linear.flip
x == 27/8