I need help finding the amplitude and midline. If you don’t mind, can you explain how you got your answer?

I need help finding the amplitude and midline If you dont mind can you explain how you got your answer class=