First, you plug in the first set of numbers into the direct variation equation (y=kx). This will be 6 = k(10). Then, you solve for the variable k. Divide 6 by 10 to get k alone on the right side, and k equals 3/5. Then, you plug in y and k to find the new x number. This would be 18 = 3/5(x). Multiply both sides by the reciprocal of 3/5 to get x alone on the right side. This would make x = 30. If y = 18 and the variables vary directly, x would be equal to 30. Hope you have a great day!