To determine the number of shirts sold you must first determine the revenue earned. To find revenue you may add the expenses to the profit since both of these numbers are given.
Profit= Revenue- Expenses
Revenue= Profit+ Expenses
5n= 22 +83
Use the variable n to solve for number of shirts sold