In which two market structures are prices set mainly by the supply and demand of many buyers and sellers?

a.monopoly and oligopoly
b.oligopoly and perfect competition
c.monopoly and monopolistic competition
d.perfect competition and monopolistic competition