Answer:
Company A: 
Company B: 
Step-by-step explanation:
The initial fee is the y-intercept, as that is the cost at x = 0, or the cost before any time has passed. Afterwards, the rate the cost increases is the slope.
Linear equation in slope-intercept form:

where m is the slope and b is the y-intercept.
Company A charges $50 up front and $40 per hour afterwards, so the equation would be:

Company B charges $25 up front and $50 per hour, so:
