We can use the point-slope form of a linear equation to find the equation of the function:
y - y1 = m(x - x1)
where m is the slope of the line, and (x1, y1) is a point on the line.
First, we can find the slope of the line by using the two given points:
m = (y2 - y1) / (x2 - x1)
where (x1, y1) = (4, 24) and (x2, y2) = (6, 30):
m = (30 - 24) / (6 - 4) = 3
Now we can use one of the two given points, say (4, 24), and the slope m = 3 to write the equation of the line in point-slope form:
y - y1 = m(x - x1)
y - 24 = 3(x - 4)
Simplifying this equation, we get:
y - 24 = 3x - 12
y = 3x + 12
Therefore, the equation of the linear function is y = 3x + 12.