how to solve algebra problem in a simple way