The variables x and y vary directly. Use the values to find the constant of proportionality and write an equation that relates x and y. y=8; x=2