Answer: y = 15, x = 10
Step-by-step explanation:
NOTE: "varies directly" is of the form [tex]\dfrac{y}{x}=k[/tex] where k is the constant of proportionality.
First, input the given x and y-values to find k
[tex]\dfrac{y}{x}=k\qquad \qquad \text{Given: y=18, x=6}\\\\\dfrac{18}{6}=k\\\\\boxed{3=k}[/tex]
Next, input the given value and k = 3 to solve for the missing variable.
[tex]x = 5\\\\\dfrac{y}{5}=3\\\\\large\boxed{y = 15}\\\\\\y=30\\\\\dfrac{30}{x}=3\\\\\dfrac{30}{3}=x\\\\\large\boxed{10 = x}[/tex]