First of all we are requiring a graph. Now we will determine the starting and ending points of line from graph. As we get the coordinates of line we can convert it into an equation with help of a graph. Let us see this process to get the line equation step by step.

**Step 1:**First of all we require starting points say (x

_{1}, y

_{1}) and ending points (x

_{2}, y

_{2}) of line. Now calculate the Slope of line. We have a formula to get the slope of line:

m = (y

_{2}– y

_{1}) / (x

_{2}– x

_{1}),

Assume that we have the coordinates (2, 0) and (-1, 3) then slope of line will be:

m = (3 - 0) / (-1 - 2) = -1,

**Step 2:**Now we will calculate the y- intercept. We will multiply the slope of line with starting 'x' point and subtract it from the starting 'y' point as:

y intercept = 0 – (-1) * 2 = 2.

**Step 3:**Now as we know that equation of line is y = mx + c. Here 'm' is the slope of line and 'c' is the y- intercept of line. We have already calculated 'm' and 'c' of line. Now we will place these values in line equation.

Y = mx + c,

Y = -x + 2,

**Step 4:**If we want to verify the equation we can put the coordinates in equation and verify it.

0 = -2 + 2 = 0 and,

3 = 1 + 3 = 3.