We are told that one dance class costs $15. Therefore, for x classes, Hailey will pay
15x dollars.
There is also an administrative fee of $25, which will be paid just once. Thus, to calculate the total cost y of taking x dance lessons, we should add this value to 15x. Now, we can write the rule that describes this situation.
y=15x+25
Now, let's calculate the cost of 5 lessons using our rule. We can then see if the cost is less than $100 or not. This is done by substituting 5 for x.
y=15x+25
y=15⋅5+25
y=75+25
y=100
The total cost will be $100 and since Hailey has exact $100 to spend she can afford it.