Answer:
[tex]y=- 4x + 4[/tex]
Step-by-step explanation:
The slope formula for a straight line is:
[tex]y=mx+b[/tex]
Where, 'm' is the slope and 'b' is the y-intercept.
To find the x-intercept of a line, we need to equal 'y' to zero, and then solve for 'x'. In this case we know that the x-intercept is 1, so we have the point (x1, y1)=(1,0). We are given a second point which is: (x0, y0)=(-2, 12).
To find the slope, we use the following formula:
[tex]m = \frac{y1-y0}{x1-x0} = \frac{0-12}{1-(-2)} = -4 [/tex]
Now, The equation of the line is: y - y0 = m(x-x0). Then, substituting the values of 'm', 'x0' and 'y0' we have that:
[tex]y - 12 = -4(x+2) ⇒ y = -4x-8 + 12 ⇒ y=- 4x + 4[/tex]
The equation of the line using the slope-intercept form is:
[tex]y=- 4x + 4[/tex]