If the line passing through the points (a, 1) and (−17, 8) is parallel to the line passing through the points (0, 5) and (a + 2, 1), what is the value of a?