Answer:
Concept:
The formula used to calculate the equation of a line when two points are given is given below as

Where the coordinates are given are

By substituting the values, we will have

Hence,
The equation of the line is y =-x+8
By graphing the line, we will have the image to be given below as