ANSWER
She can rent the facility for 4 hours
Step-by-step explanation
The cost 'y' for renting the facility for h hours is:

But if half the deposit is refunded (72/2 = 36), the cost is:

If Nicole has $240 in her budget, the cost must be less than or equal to her budget:

Solving for h:

If Nicole rents the facility for 4 hours and there's no damage - so that she get's half of her deposit refunded - she'll spend $240, which is within her budget.