x=2 when y=-8 and y varies inversely with x
y = k/x (where k is a constant)
-8= 2k
k= -4
Therefore,
y= - 4/x
Was this what you were looking for?