What are the steps involved in solving a quadratic equation?