The midline is the y value that runs straight through the middle of the wave.If you can picture the standard sine function graph. f(x) = Sin(x) reaches a maximum y = 1 and minimum y = -1 so the midline is y =0.
This equation is shifted up 6 so the midline is shifted up 6
y = 6 is equation for midline
If you work out the equation the answer would be 5 but its not a definite answer.
So all u have to do is say all the x values that have a point (the domain) and all the y values that have a point (the range). If it is continuous, like a line, then u say all the points between two points. For example the range of the bottom right is [-1,5]. If it goes to infinity or negative infinity, you say something like (-infinity,infinity). With the sideways 8 of course. Btw, (-infinity, infinity) is the domain of the bottom right ;D