For the first question which is y=x/3, here as we see that both are in top. So they represents direct variation and constant of variation is 1/3 .
For the second question , which is 6/y=x, y is denominator and x is in the denominator. So they represents inverse variation and the constant of proportionality is 6 here .