Given the definition above and the fact that top points of the function are at y=9 and the low point are at y=1, the center line must be halfway at y=5.
the amplitude therefore is 4. it's also just half the difference of 1 and 9.
I did this graphically with desmos. Doing it algebraicly would have taken much more time i guess.