Find any two points, (x1, y1) and (x2, y2), on the line and substitute their coordinates into the following formula to get m:Get b from inspection of the y intercept of the graph.Substitute the numbers that you have obtained for m and b into the equation y = m x + b.