ANSWER
She can rent the facility for 4 hours
EXPLANATION
The cost 'y' for renting the facility for h hours is:
[tex]y=51h+72[/tex]But if half the deposit is refunded (72/2 = 36), the cost is:
[tex]y=51h+36[/tex]If Nicole has $240 in her budget, the cost must be less than or equal to her budget:
[tex]51h+36\le240[/tex]Solving for h:
[tex]\begin{gathered} 51h\le240-36 \\ 51h\le204 \\ h\le\frac{204}{51} \\ h\le4 \end{gathered}[/tex]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.