if y varies directly as x and y=8 when x=4, find the constant of variation