We have the equation:
We can factorize this equation as:
In this case, we have 2 rational solutions.
If the solution implies the square root of -1, then we would have 2 complex solutions.
If the solution implies a square root that does not have a rational solution, then we have 2 irrational solutions.
We can see it when we apply the quadratic formula:
The term with the square root defines what type of solution we have:
If b^2-4ac<0, then we have complex solutions.
If the square root of b^2-4ac does not have a rational solution (b^2-4ac is not a perfect square), then we have irrational solutions.
If b^2-4ac is a perfect square (its square root have a rational solution), we will have rational solutions.