Calculating Compensation amount

Calculating Compensation amount