In the given diagram, the line AB cuts the y-axis at the point C(10, 2) and passes through the point D(-3,-4). Find the slope and equation of the line CD.

Answer:
y = 2x + 2
Step-by-step explanation:
To find the slope (gradient), use the formula: [tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]
where [tex]m[/tex] is the slope and [tex](x_1, y_1)[/tex] and [tex](x_2, y_2)[/tex] are the points C and D:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]
[tex]m=\frac{-4-2}{-3-0}=2[/tex]
By inspection, we can see that the y-intercept is 2.
So using the equation of a straight line [tex]y=mx+c[/tex] where [tex]m[/tex] is the slope and [tex]c[/tex] is the y-intercept, the equation of the line CD is:
[tex]y=2x+2[/tex]