Remember that the general equation for slope-intercept form is y = mx + b, where m = the slope of the equation, b = the y intercept, and x and y are your variables (and the coordinate points on the graph).
First start by finding m, the slope. To find slope, use the equation:

where

and

are the x and y values of one coordinate point , and

and

are the x and y values of another coordinate point . Since we are given two coordinate points, that means we can find the slope using the slope equation.
Let's choose (6, 1) as your

point and (5, 4) as your

point, but you can switch those if you want! That makes

and

. Plug these values into the slope equation:

Now you know the slope of your line that passes through the points is m=-3. Plug that into your slope-intercept equation:
y = -3x +b
Finally you want to find b. To find b, just plug in one of your coordinate points and solve for b. I'll use (6,1), but you can use either one!

Put b into your slope intercept equation to find your final equation of your line:
y = -3x + 19
The equation of your line is y = -3x + 19