Write an equation of each line that passes through the following points in slope-intercept form:
1. A (8, –1) and B (–4, 17)
2.C (–19, 31) and D (1, –9)