How to solve basic math problems