If y=12 when x=3, how do you find x when y=6 given that y varies inversely as x?