Given points:
(-2,-7) and (5,0)
To get the equation of the line, we will use the formula below:

From the points given

Where

Substituting the values into the equation

simplifying further
The equation of the line is:

The graph of the points (-2,-7) and (5,0) is given below: