Use the synonyms for the underlined words. First and second class passengers went through a brief inspection aboard ship.
underwent
adapted
passed away
went under