I think it's The girls "On the roller coaster" is a prepositional phrase used as a restrictive adjectival element.
Answer:
it is an adjectival phrase
4.5m questions
5.9m answers