Ibra has a 3-year contract, worth 12M a year. PSG has already paid him one year.
That means there's 24M left to be paid.
Juve should offer him a new 3-year contract (it doesn't seem like he'll be declining anytime soon) worth 7-8M a year. Thats 21-24M. Pretty much the same amount he'd be...