Given y varies directly with x, write the equation of the line when x=3 and y=-12?