pull down to refresh

If Alice have 5 bitcoin
and Bob have 7 bitcoin
how they will get their bitcoin with 2 bitcoin outputs?