The slope of the line that passes through the points (x1, y1) and (x2,y2) is computed as follows:
In this case, the points are (24, 28) and (8,8), then its slope is:
The slope-intercept form of a line is:
y = mx + b
where m is the slope and b is the y-intercept
Substituting into the general equation with m = 5/4 and the point (24, 28) we get:
Finally, the equation is
y = 5/4x - 2