It's quite easy actually. Just get all the numbers that are less than 12 and make it a fraction over the maximum number, and in this scenario it's 100. So your end result is <u>11/100</u>
We take the total profit (58300) and subtract the value of all 3 contracts to see what is left over. That remaining amount (14850) is the final contract.