Below is the graph of a trigonometric function. It has a maximum point at $\left(-5,2.5\right)$ and a minimum point at $\left(-1.7,-4.5\right)$.
![](web+graphie://ka-perseus-graphie.s3.amazonaws.com/165be9596bccc8080cf0dc01a79af3c7d253f853)
**What is the midline equation of the function? **
$y=$ [[☃ numeric-input 2]]