please help me answer these and tell me how you got it

Answer:
Step-by-step explanation:
A line has the form y=mx+b where m is the slope and b is the y intercept.
m=(y2-y1)/(x2-x1) in this case
m=(8-7)/(5-10)=-1/5 so the line is
y=-x/5+b, using point (5,8) we can solve for b
8=-5/5+b
8=-1+b
b=9
y=-x/5+9 or more neatly
y=(-x+45)/5