First, you need to get delta which is b squared minus 4ac. If delta is higher than cero, the polynomial has two solutions, if it is less, the polynomial has no real solutions and if it is the same, it has one solution.
Although that is only for second grade ecuations