Two visits are from the fire inspector and four visits are from the health inspector in 30 days both inspectors will visit on the same day
We know from the slope intercept form that y=mx+b so the y intercept is 12 while every hour the cost goes up by 8