The values of x and y are always positive, and x^2 and y^2 vary inversely. If y is 10 when x is 12, then find x when y is 4000.