It is given that y varies directly as x. If y = 10 when x = 3 determine the constant of variation.

A. -3/10
B. 10
C. 5
D. 10/3