If y varies directly with x and y=10 when k=10, what is the value of x?