examples of quadratic functions word problems