The slope of a line passing through two points (x1, y1) and (x2, y2) can be calculated using the formula:
slope = (y2 - y1) / (x2 - x1)
Using the given points (5, 4) and (7, 10):
slope = (10 - 4) / (7 - 5)
slope = 6 / 2
slope = 3
Therefore, the slope of the line that passes through the points (5, 4) and (7, 10) is 3.