You might make use of the relationship between the coefficients and the sum and product of the roots of the quadratic equations. Without loss of generality you can take $a \geq b$ and then you'll need to consider separately the case where $a=b$ and where $a> b$.