How to solve math Problems