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