Answer:
So to write this as an equation follow the steps:
1.First you take y delta divided by x delta. This means that you but in the coordinates, take them minus eachother then divided by eachother. Let me show you with maths for better understanding:
Now you have k in y=kx+m ( the equation has different letters depening on where you are from but I think you understand).
So know we just use simple algebra bu putting in the coordinates in the equation. So for this example im going to use the coordinates x= 8 and y=5
so we get: