Answer:
number o students bought pennants = 18
number of student bought fancy ones=12
Explanation:
Let x be the number o students bought pennants
and y be the number of student bought fancy ones
total 30 students


Plain pennants cost $4 each and fancy ones cost $8 each.

Substitute 30-x for y in second equation



Subtract 240 from both sides

divide both sides by -4
x=18


number o students bought pennants = 18
number of student bought fancy ones=12