What is the midline equation of the function? do I add 5.5 to 3.5 then divide ? Thanks in advance

Answer:
The midline of the function is y = 2.
Step-by-step explanation:
Midline is the horizontal line that passes exactly in the middle between the graph's maximum and minimum points.
The midline of a sinusoidal function passes exactly in the middle of its extreme values.
Since the amplitude of a sinusoid is equal to the vertical distance from its midline to one of its extrema, we can calculate the midline using one of the following formulas.
midline = max value − amplitude
midline = min value + amplitude
According to the graph, the maximum value of the function is 5.5, and the amplitude is 3.5.
So, the midline is
midline = max value − amplitude
midline = 5.5 − 3.5 = 2