Considering the use of gerunds and infinitives, mark the sequence in which all the verbs follow the same pattern of the verb in bold, in the sentences below.

"The crew agreed to sail through the night to reach the port."