Understand that if \( y \) varies directly as \( x \), it means there is a constant \( k \) such that \( y = kx \).
Use the given values \( y = 18 \) when \( x = 6 \) to find the constant of proportionality \( k \) by substituting into the equation: \( 18 = k \times 6 \).
Solve for \( k \) by dividing both sides of the equation by 6: \( k = \frac{18}{6} \).
Write the direct variation equation with the found constant \( k \): \( y = kx \).
Use the equation to find \( y \) when \( x = 10 \) by substituting 10 for \( x \): \( y = k \times 10 \).