Respuesta :

2x-y+2=0
slope=y-y/x-x
6-(-6)/2-(-4)=2
eq=Y-y/X-x
y-6/x-2=2
2x-4=y-6
2x-y+2=0

y = 2x + 2

the equation of a line in slope-intercept form is

y = mx + c ( m is the slope and c the y-intercept )

to calculate m use the gradient formula

m = (y₂ - y₁ ) / (x₂ - x₁ )

with (x₁, y₁ ) = (- 4, - 6) and (x₂, y₂ ) = (2, 6 ) ← 2 points on the line

m = [tex]\frac{6+6}{2+4}[/tex] = [tex]\frac{12}{6}[/tex] = 2

the line crosses the y-axis at (0, 2 ) ⇒ c = 2

y = 2x + 2 ← equation of line