which sentence has an infinitive or infinitive phrase that functions as a direct object? Because of the Great Depression, these men needed to work. To see their work, visit the campgrounds in Death Valley. Their First task was to build barracks and other permanent structures.