Problem: Min and max of quadratic functions

Problem

Solution