If the line passing through the points

(a, 1) and (2, 8)
is parallel to the line passing through the points
(12, 6) and (a + 2, 1),
what is the value of a?

the slopes must be the same, so

(8-1)/(2-a) = (1-6)/(a+2-12)
a = 30