Hi Brenda,
To get a line equation from two points, you'd need to first use these to find what the slope of the line is. Remember that y-mx+b, where m is the slope and b is the y intercept, is what we mean by this form. It's easiest to find the m, the slope, first.
How do we do that? With two points, the slope is the RISE/RUN, or (y2 – y1) ⁄ (x2 – x1). Here, you are correct. That is 7/9.
Great, so that's our m.
Then we need to know the y intercept. What's that? b, where x is 0. What's nice is that we already have it with one of the points. The y intercept is 7.
So your equation is correct.
If you didn't have that nice coincidence, you could plug in a point.
We know
y=7/9x+b, and that goes through point (-9,0)
so 0 = 7/9 (-9) + b
or 0 = -7 + b
b=7
Let me know if you have any questions!