How to solve a physics problem