The linear function in slope-intercept form for the cost of a visit of x hours is given as follows:
C(x) = 9x + 31.
A linear function is modeled by:
y = mx + b
In which:
In this problem, the rate means that the slope is of m = 9. When x = 3, C(x) = 58, hence the y-intercept is found as follows:
C(x) = 9x + b
58 = 9(3) + b
b = 31.
Hence the equation is:
C(x) = 9x + 31.
More can be learned about linear functions at https://brainly.com/question/24808124
#SPJ1