The direct variation formula is
.
Substitute y = 6 and x = 10.
\

Divide each side by 10.
\

The direct variation equation is
.
Find the value of x, substitute y = 18 in
.

Multiply each side by 5.
\ 

Divide each side by 3.
\ 

The value of
.