In this task, you are given a sentence or phrase in English. You must translate it to Xhosa in a way that is equivalent in terms of meaning and grammatically correct.

But waves passing through a group attain their maximum height at the centre.
Kodwa amaza agqitha phakathi kweqela eliphumelele kubukhulu bobude ngokwesiphakathi.

This is especially when he is aware that an alteration of course or speed is likely to render the upper deck unsafe.
Le ke igxininisa xa kuthe kanti unolwazi ngotshintsho lwenkqubo okanye isatya esithanda ukunyuka kumgangatho ongakhuselekanga phezulu.

Whenever hands are piped to bathe alongside the ship a boat equipped with a lifebuoy attached to a lifeline should always be in attendance.
Xa abasebenzi beqokelelwe ukuba bequbhe ecaleni kwenqanawa isikhephe esixhotyiswe ngesangqa umntu angabambelela kuso xa esengozini yokutshona ezifakwe okanye ezihlanganiswe kwintambo esetyenziswa ekusindiseni abantu abasengozini yokutshona mayisoloko ihoyiwe.