If there be yet many years behind, according unto them he shall give again the price of his redemption out of the money that he was bought for.
If many years remain, he must pay for his redemption in proportion to his purchase price.
Read Leviticus 25