The general equation of the sine function y=f(x) is defined as

where A is the Amplitude
B represents the frequency of the function with period equals 
C represents the Horizontal shift, For Phase shift= -C/B
D represents the Vertical shift.
The data given that the amplitude of the function A=6

Vertical shift 
Horizontal Shift 
Now plug in
in the general equation of sine function, we get
