# How do you write the equation of a line given (-2,-5) (1,7)?

##### 1 Answer

Apr 23, 2017

**The equation of the line is**

#### Explanation:

The slope of the line passing through

Let the equation of the line in slope-intercept form be

The point (-2,-5) will satisfy the equation . So,

Hence the equation of the line in slope-intercept form is

The equation of the line in standard form is