Answer:

Explanation:
It is given that x and y vary directly. It means y is directly proportional to x.

It can be written as
.... (1)
where, k is the constant of proportionality.
The given values are x=18 and y=6.
Substitute these values in the above equation.

Divide both sides by 18.


Substitute the value of k in equation (1).

Therefore, the required equation is
.