Final answer:
To find the equation of a straight line with two points, use the two-point formula and calculate the slope.
Step-by-step explanation:
In order to find the equation of a straight line when given two distinct points on the line, you can use the two-point formula. The formula is:
y - y1 = m(x - x1)
where (x1, y1) and (x2, y2) are the coordinates of the two points, and m is the slope of the line.
To calculate the slope, you can use the formula:
m = (y2 - y1) / (x2 - x1)
Plug in the values of the coordinates into the formula to find the equation of the line.