Given that the required linepasses through the points (15, 5)and (5, 15).
Find the slope of the line using teo-point formula.

Substitute the value of m into theslope-intercept form y = mx+c.

Plug in the point (5, 15)to find c, the y-intercept.

Thus, y = -x + 20, which is the required equation of line.