How to solve circuit problems