# How do you write an equation of a line with point (5,-2), (7,1)?

##### 1 Answer

#### Explanation:

Find slope first:

Let's have point 1 as (

**points are #(x,y)# format, so in #(5,-2)#, #x_1 = 5# and #y_1=-2# and in #(7,1)#, #x_2=7# and #y_2=1# **

**Therefore the solution will be like this:**

Thus, slope

Simplifying,

Let's use point-slope formula,

Adding in values,

Now simplify and you get your equation. Make sure to isolate