Step 1 :Step 1: The slope of the line (m) passing through two points (x1, y1) and (x2, y2) is given by the formula: m = \(\frac{y2 - y1}{x2 - x1}\). Substituting the given points (2, 3) and (4, 7) into this formula, we find: m = \(\frac{7 - 3}{4 - 2}\) = 2.
Step 2 :Step 2: The equation of a line is given by the formula y = mx + b, where m is the slope and b is the y-intercept. We already know m = 2, so now we need to find b. We can do this by substituting one of the given points into this formula. If we use (2, 3), we get: 3 = 2*2 + b, which solves to b = -1.
Step 3 :Step 3: Substituting m = 2 and b = -1 into the equation of a line, we find: y = 2x - 1.