Answer:
11 shirts and 4 pants.
Explanation:
Let x be the number of shirts and y be the number of pants,
So, the total shirts and pants = x + y
According to the question,
x + y = 15 ----(1),
Also, shirts are 7 more than pants,
i.e. x = y + 7
Substitute this value in equation (1),
y + 7 + y = 15
2y + 7 = 15
2y = 8
⇒ y = 4
Again from equation (1),
x + 4 = 15
⇒ x = 11
Hence, she bought 11 shirts and 4 pants.