how to solve a problem