Answer: A shirt costs $8 and the pants cost $ 12.
Explanation:
Let x = Cost of each shirt, y = Cost of each pant.
As per given, we have
Multiply 5 on both sides of (i), we get
Add (ii) and (iii), we get
From (i), y=4+8=12
Hence, a shirt costs $8 and the pants cost $ 12.