The slope-intercept form is
m is the slope
b is the y-intercept (value y at x = 0)
Since y represents the amount of money he saves and x represents the number of weeks, then
x = 2 and y = 180
x = 4 and y = 260
We will use them to find the slope
Substitute y2 by 260 and y1 by 180, x2 by 4, and x1 by 2
The equation is
To find b substitute x by 2 and y by 180
Subtract 80 from both sides
The equation is