You need to separately determine what happens in relation to the replacement asset and the money, having regard to the proportion of the original asset attributable to each type of compensation.
The rules are then applied separately to the money and to the asset.