Presuming equal bases:
1. The sum of the logs is the log of the product.
2. The difference of the logs is the log of the quotient.
3. If the logs are equal, the arguments are equal.
Solve the quadratic. The quadratic does not factor over the rationals, so you will need to use the quadratic formula. (or complete the square, if you prefer -- though I would recommend against it in this case). You must then exclude any root that would cause either of the log arguments containing the variable to be negative.