Problem with quadratic solution - couldn't find it today