Solve math problems graphically