How to solve a geometry problem