Transformations of quadratic functions