Pocket Gems Interview Question

Write a function to compute the quadratic formula.