Learn To Be brings free online tutoring students around the United States. Volunteer and gain community service hours while helping students who need it./p>

Midline of sinusoidal functions from graph

Below is the graph of a trigonometric function. It has a maximum point at (5,2.5)\left(-5,2.5\right) and a minimum point at (1.7,4.5)\left(-1.7,-4.5\right).
What is the midline equation of the function?
y=y=