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.

Ex Input:
It lies against the ship's side and is secured inboard by shackles and chain.

Ex Output:
Ilala ngokuchasana kwenqanawa kumacala nakukhuseleko phakathi kwibhodi ngokukhonkxa nangetsheyini.


Ex Input:
This taught the sailor how many degrees must be added to, or subtracted from, his observed altitude in accordance with the positions of the Guards.

Ex Output:
Le yafundisa abathengisi ukuba zingaphi izidonga ezunokongezwa, okanye zithatyathwe kujongo lomphakomo ngokwendawo eyiugadileyo.


Ex Input:
However, it did not entirely eradicate sagging and straining in the wooden hulls.

Ex Output:

Ngoko, ayizange ikutshabalalise ukubhena kunye noxinzelelo kwiziqu zokhuni.