Answer: The number of shirts he bought = 5 and the number of pants he bought = 5.
Step-by-step explanation:
Let x = Number of shirts
y = Number of pants
As per given , we have the following linear equations :
Multiply (15) to the equation (1) , we get
Eliminate equation (3) from (2) , we get
Put value of y in (1) , we get
Hence, the number of shirts he bought = 5 and the number of pants he bought = 5.