Answer:
y = 36x
Step-by-step explanation:
Given that y varies directly as x, then the equation relating them is
y = kx ← k is the constant of variation
To find k use the condition y = 18 when x = [tex]\frac{1}{2}[/tex], thus
k = [tex]\frac{y}{x}[/tex] = [tex]\frac{18}{\frac{1}{2} }[/tex] = 36
y = 36x ← equation of variation