http://www.1728.com/quadratc.htm
Its easy, just plug in the variables and it tells you both solutions for x and the answer in fraction form plus a lot of other stuff.
If you plug in the variables and calculate and the x answers say "NaN" that means that the answer is negative, which means you'll just have to do the rest yourself.
You're welcome!