Since the x-intercept is 1, then another point on the graph of the function is (1,0).
Use the slope formula to find the slope of the line that passes through the points (1,0) and (-2,6):
Use the point-slope formula. Substitute y₁=6, x₁=-2 and m=-2. Then, isolate y to find the equation in sope-intercept form:
Therefore, the answer is: