Let the total profit of both companies be denoted by x.
Therefore, 40% * x = 0.4 * x = $60000
So x = $60000 / 0.4 = $150000.
If Company B gets 60 % of the profits, it gets 60% of $150000, which is 0.6 * $150000 = $<<0.6*150000=90000>>90000.
#### 90000