Find the amplitude and the equation of the midline of the periodic function

Answer:
amplitude: 3; midline is y = 2
Step-by-step explanation:
Note that the range of this function is [-1, 5], values that are 6 units apart. The amplitude is half that, or 3 units.
The midline is the horiz. line halfway between -1 and +5.: y = 3.
These values correspond to the last (fourth) answer choice.