We have to find how many shirts (s) he has bought.
We know that each shirt costs $15, so the total cost of the shirts should be 15*s.
If we substract the discount, we have the total final cost C as:
If we know that this total cost was $36, we can find the number of shirts as:
Answer: He bought 3 shirts (s = 3).