Respuesta :

Equation is y = 2x + 2

Step-by-step explanation:

  • Step 1:

Find slope of the line using the formula m = (y2 - y1)/(x2 - x1)

Here, x1 = -2, x2 = 4, y1 = -2, y2 = 10

⇒ m = (10 -  -2)/(4 - -2) = 12/6 = 2

  • Step 2:

Slope-intercept form equation is y = mx + b

⇒ y = 2x + b

  • Step 3:

Find the y-intercept, b. Since the line passes through (4, 10) substitute values of x = 4 and y =  10 to find b.

⇒ 10 = 2 × 4 + b = 8 + b

⇒ b = 2

  • Step 4:

Form the equation

⇒ y = 2x + 2