Question: what is the equation of a line segment?
Answer: The equation of a line is typically written as y=mx+b where m is the slope and b is the y-intercept. If you know two points that a line passes through, this page will show you how to find the equation of the line.