Median line is y = 4 (why?) => k = 4.

Amplitude = (8 - 0)/2 = 4.

Period/4 = 8 - 2 = 6 => period = 24. But period = 2pi/B => B = pi/12.

Try drawing some graphs using the above and then figure out for each case what C (horizontal translation) needs to be and whether A is positive or negative .....