To survive, they must learn to adapt to their new environment through a process of trial and error.
(they; must learn; to adapt to their new environment through a process of trial and error) Context(they must learn,List([12, 27))):(they; must learn to adapt; to their new environment)
they must learn,List([12, 27))
they they
must learn must learn to adapt
to adapt to their new environment through a process of trial and error
to their new environment