Given data:
The first point given is (5,2) .
The second point given is (7,0).
The slope of the given points is,
The equation of the line passing through the given points is,
Compare the above equation with the standard equation of the line.
Here, c is y-intercept.
Thus, the slope of the line is - 1, y-intercept is 7, and equation of the line is y = -x+7.