Complex sentence: B Company had taken 39 Chinese prisoners during the earlier fighting, and was unable to leave these behind and in the end they were used to carry many of the Australian wounded, and much of their equipment as well.
Split into simpler sentences: B Company had taken 39 Chinese prisoners during the earlier fighting, and was unable to leave these behind. In the end the Chinese were used to carry many of the Australian wounded and much of their equipment as well.