Step-by-step explanation:
t is the number of ride tickets she can buy.
=>
she has to pay $15 just for entering. the rest of the money she can use for ride tickets.
so, whatever she does, she has to stay inside the $24 limit, as she does not have more money.
the $15 admission goes off the $24 available money. that leaves $9.
each ride ticket costs $0.50, so she can buy max. 9/0.5 = 18 tickets. she can buy fewer tickets, but she cannot buy more than these 18 tickets.
so, again