The magistrate gives seven coins to the Bedouin with five loaves and one coin to the Bedouin with three loaves. EXPLANATION.