Answer:
y = 2x
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 = 12 when x = 6
k = [tex]\frac{y}{x}[/tex] = [tex]\frac{12}{6}[/tex] = 2, hence
y = 2x ← equation of variation