# What is the equation of the line between #(-1,12)# and #(31,16)#?

##### 1 Answer

See a solution process below:

#### Explanation:

Fist, we need to determine the slope of the line. The formula for find the slope of a line is:

Where

Substituting the values from the points in the problem gives:

Now, we can use this point-slope formula to write an equation for the line. The point-slope form of a linear equation is:

Where

Substituting the slope we calculated and the values from the first point in the problem gives:

We can also substitute the slope we calculated and the values from the second point in the problem giving: