Type the word that the underlined phrase modifies or renames.

They swept the dead leaves OUT OF THE HALLWAY and shut the door against the wind.

The phrase tells where they SWEPT, so it's an adverb phrase.

the book is on the table

The underlined phrase "out of the hallway" modifies the verb "swept."