How do you use transformation to graph the cosine function and determine the amplitude and period of y=cos(4x)?