The points (2,-4), (x,y), A, and B all lie on the line. Find an equation relating x and y (Hint: The slope formula).