Question: what is the equation of a straight line passing through two points?
Answer: Find the Equation of a Line Given That You Know Two Points it Passes Through. The equation of a line is typically written as y=mx+b where m is the slope and b is the y-intercept.