Hi

I am having some trouble with the following :

A real estate agent determines the costs of maintaining and hiring a hall by charging a flat fee for maintenance of $55 then an hourly fee of $45 an hour. The maximum charge for a full days use is $595.

Write a mathematical expression to generate to cost of hiring the hall:

The best I can come up with is

But this does not faction in the $595 maximum however the next question is, what is the domain and range of the function assuming agents allow parts of an hour to be considered.

would this mean the:

Domain

Range