quadratic equation but in terms of 5