Hi I am stuck on the last part of this question. Please assist. Thank you

Okay, here we have this:
Considering the provided graph and the information previously found in the previous parts of the question, we are going to determine the function that represents the graph shown, then we have:
Then to find the requested function we will substitute in the following formula:
[tex]y=Asin(Bx)+D[/tex]Where each letter represents:
A: Amplitude
B=2pi/period
D: Midline
Replacing:
[tex]y=2sin(\frac{2\ast\pi\ast x}{7})-2[/tex]