Determine the values of a and d in the sinusoidal function

y=asin(bx+c) +d

if the maximum value is 12 and the minimum value is 4.

Find the value of b in the sinusoidal function if the period is 5.

That is what I'm being asked. And yet again the crappy online course hasn't even mentioned it.