The value of y varies inversely with x if when y=−2 , x=4. ​

What is the equation?
A. y=1/2x
B. y=8x
C. -1/2x
D. -8/x

A. y=1/2x