How do You Find the Equation of a Line?

The equation of the line is found by slope and y-intercept. The equation is y=mx+b. For example, say you have a slope of 3 that passes through the point (2,4). Simply plug in the numbers and solve. 4=3(3)+b, 4=9+b, -5=b.