Line L passes through the points (a, 2a) and (b, 2b), where a ≠ b. Determine the slope of line L.
The slope, m, of a line is equal to the change in y over the change in x between any two points, (x1,y1) and (x2,y2), on the line.
m = (y2-y1)/(x2-x1)
In your case (x1,y1)=(a,2a) and (x2,y2)=(b,2b). Plug those values into the slope formula above to get the answer.