If y varies directly as x and y =14, when x = 3, find the equation that relates x and y.