Answer:
It modifies the noun "school"
Step-by-step explanation:
A prepositional phrase is a group of words that contains an object of a sentence, a preposition, and modifiers.
It is usually used to link one idea to another.
From the given example, the prepositional phrase "on the coast" modifies the noun "school".