Equation of the line:
y = mx+b
where:
m= slope
b= y-intercept
First, we have to find the slope:
m = (y2-y1) / (x2-x1)
Since we have:
(x1,y1) = (8,7)
(x2,y2)= (0,0)
Replacing:
m = (0-7)/ (0-8) = -7/-8 = 7/8
Now, that we have the slope:
y = 7/8 x +b
We can place the point (8,7) in the equation and solve for b:
7 = 7/8 (8) +b
7=7 +b
7-7=b
b=0
Since the y-intercept=0
The final equation is:
y= 7/8x