What happens when the function f(x)=cosx is transformed by the rule g(x)=f(1/4​x)?

a. f(x) is stretched away from the x-axis by a factor of 4.

b. f(x) is stretched away from the y-axis by a factor of 4.

c. f(x) is compressed toward the y-axis by a factor of 1/4​.

d. f(x) is compressed toward the x-axis by a factor of 1/4​.