the amount spent on 2 shirts and a pair of pants was 45.45$ and we have the cost of the pants which was 16.99$
this means that we can calculate the cost of two shirts together as follows:
cost of shirts = 45.45 - 16.99 = $28.46
now, we know that both shirts cost the same amount. this means that we can get the price of each by dividing the total cost of shirts by 2.
cost of each shirt = 28.46/2 = $14.23