Hello Audrey,
Since y varies inversely with x, it means x•y = constant
You're told y = -4 when x = -2. You can use that to find the constant: x•y = (-4)•(-2) = 8.
You're asked to find x when y = 2. You know the constant is 8. So set up x•y = constant:
-----> x•2 = 8
Now, solve for x. You got this.