Complex sentence: The thief is given leniency and spends only two days in jail, sharing a cell with the second rebel, where the rebel gives him his clothes as a gift.
Split into simpler sentences: The thief is given leniency and spends only two days in jail. Sharing a cell with him is the other rebel, and the rebel gives him his clothes as a gift.