Answer:
![y = x + 8](https://img.qammunity.org/2023/formulas/mathematics/high-school/usdiq2o2zga4iqocijz5thw3u2op9jwb6p.png)
Explanation:
The equation of a line is:
![y = mx + c](https://img.qammunity.org/2023/formulas/mathematics/high-school/pvq8ckg11f8osopew7ov658g6kwn55gt2t.png)
Where m is the gradient (or as you call it, the slope), and c is the y-intercept. We already know what the slope is, therefore we need to find the y-intercept. You have been given the coordinates (-6, 2), but to find the y-intercept, X must be equal to 0. Since the gradient is 1, we know that for every value we add to X, we must add the same to y. To get from -6 to 0, we must add 6, so we must do the same 2, leaving our y-intercept coordinates as (0, 8), and our y-intercept as 8. Plugging in our values, we are left with the following equation:
![y = x + 8](https://img.qammunity.org/2023/formulas/mathematics/high-school/usdiq2o2zga4iqocijz5thw3u2op9jwb6p.png)