Which of the following equations represents a vertical compression of the linear parent function and a flip over the x-axis?

A. y=3x
B. y=1/3x
C. y=-1/3x
D. y=-3x