To graph a linear equation, we have to find its intercepts first.
First equation

The y-intercept is found when x = 0

The x-intercept is found when y = 0.

The intercepts of the first equation are (0,-5) and (-5,0).
Second equation.

When x = 0

When y = 9.

The intercepts of the second equation are (0,7) and (4,9).
At last, we plot the points and draw the lines.