Answer
$y= 6 \sin \dfrac{x}{2}$
Work Step by Step
Amplitude, $|a|= \dfrac{M-m}{2}= \dfrac{6-(-6)}{2}= \dfrac{12}{2}$
Thus, we have $|a|=6$
Vertical amplitude, $k= \dfrac{M+m}{2}= \dfrac{6+(-6)}{2}$
This gives: $|k|= \dfrac{6-6}{2}=0$
Therefore, the period is: $P=2( 3 \pi-\pi) = 4 \pi$
and $\dfrac{2 \pi}{a}=4 \pi \implies a=\dfrac{1}{2}$
Hence, the function is: $y= 6 \sin \dfrac{x}{2}$