Solving equations using the Balancing Method