The equation of a line in slope-intercept form is:
y = mx + b
where m is the slope and b is the y-intercept.
The slope of the line that passes through the points (x1, y1) and (x2, y2) is computed as follows:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/78uaqhwt0aws3qfwxigaftpihnmb1gzxtp.png)
From the graph, the trendline passes through the points (0, 5) and (1, 15), then its slope is:
![m=(15-5)/(1-0)=10](https://img.qammunity.org/2023/formulas/mathematics/college/f0pnjrmouub67vhmr7mtd2g2hsolrrjznq.png)
The trendline intercepts the y-axis at y = 5, then b = 5
Substituting m = 10 and b = 5 into the equation, we get:
y = 10x + 5