We are told that y varies inversely to x. This means that we have the following equation
where k is a constant. We are told that when x=2 we have y=-4. So we have the equation
Then, by multiplying both sides by 2, we get
So, we have the equation
So, when x= -6, we have that