In the second map if you finish scouting the rival while your companion is adjacent, your companion gets taken. In all other cases, Piper gets taken. If you didn't scout the rival, both Piper and his companion will appear in the third map.