For each of the following, write the equation of the line determined by the given pair of points in slope-intercept form or in the form xa or yb.

a. Given:
(-4, 2) and (2, -4)
To find the equation of a line in the slope-intercept form:
Using the formula,
[tex]\begin{gathered} \frac{y-y_1}{y_2-y_1}=\frac{x-x_1}{x_2-x_1} \\ \frac{y-2}{-4-2}=\frac{x-(-4)}{2-(-4)} \\ \frac{y-2}{-6}=\frac{x+4}{6} \\ \frac{y-2}{-1}=\frac{x+4}{1} \\ y-2=-x-4 \\ y=-x-4+2 \\ y=-x-2 \end{gathered}[/tex]Hence, the equation of the line is, y=-x-2.