Answer:
[tex]y=-2x+12[/tex]
Step-by-step explanation:
To write the equation of a line, find the slope between two points. Substitute two points into the slope formula. If the equation has an x-intercept of 6 then the line passes through the point (6,0). Use (6,0) and (4,4) in the formula.
[tex]m = \frac{y_2-y_1}{x_2-x_1} =\frac{4-0}{4-6} =\frac{4}{-2} =-2[/tex]
Since m = -2, substitute its value and the point (6,0) into the point slope form. Then simplify.
[tex]y-y_1 = m(x-x_1)\\y-0 = -2 (x-6)\\y=-2x+12[/tex]