When two variables are directly proportional, it means that one is a constant multiple of the other. For example, in the equation y = 16xy=16x, yy is directly proportional to xx, because yy is just some constant multiple of xx. (In this case, the constant multiple is 16.)
The equation y = x^2y=x2 does not represent a directly proportional relationship, because yy is not some constant multiple of xx.
To the problem at hand -- we are given that yy and xx are directly proportional. This means yy is a constant multiple of xx. This can be written as y = kxy=kx, where kk is some constant multiple (a number).
We have the equation y = kxy=kx and we are also told that x = 2x=2 and y = 6y=6. We can directly plug these in to determine the value of kk. y = kx -> 6 = 2k -> k = 3y=kx→6=2k→k=3. Thus, our relationship is given by the equation y = 3xy=3x. This is our final answer.