This type of equation (ax2 + bx + c = 0) can be solved by the equation
X=(-b +/- sqrt(b2-4ac))/2a
If the term b2-4ac is positive, the equation has real roots. If the term b2-4ac is negative, you have to take the square root of a negative number, and that is not possible with real numbers, which means the equation has no real roots.
It is that simple. That is how you evaluate it. Put the equation in the generic form and evaluate whether b2-4ac is negative (no real roots) or not (real roots).