may someone please help me im struggling so much im literally about to cry

Answer:
let A(4,0) and B(8,5)
then to find the equation of line AB
we should find the slope (a) of AB which is:
a = (y2 - y1)/(x2 - x1)
a= (yB - yA)/(xB - xA)
a= 5 - 0 / 8 - 4
a= 5/4
then the equation is y= ax+b
where b is to be determined by substituting either A or B coordinates in the equation,
I'll take both
taking A:
yA= axA+b
0= (5/4)×4+b
b= -5
taking B:
yB= axB+b
5= (5/4)×8+b
b= -5
then the equation of AB is
y=5/4 x -5