If the pool of boat loans suffers $154 million in losses, the losses will be first absorbed by the $57 million in overcollateralization. That leaves ($154 – 57 = ) $97 million in losses to be distributed among the tranches.
Subordinated tranche B will lose $50 million, leaving ($97 – 50 = ) $47 million in losses for holders of subordinated tranche A.