Below is the graph of a trigonometric function. It has a minimum point at $\left(-10.4,-9.8\right)$ and a maximum point at $\left(-3.6,-1.2\right)$.

**What is the midline equation of the function?**
$ y=$ [[☃ math-keypad 1]]