Vertically shifting a quadratic function