How do you know when to solve quadratics by factoring or completing the square?