It means there is a constant of proportionality between the quantities.

If y varies directly as x, there is some constant k such that

y = k*x

If y varies directly as x, there is some constant k such that

y = k*x