The second followed a melee inside the Iraq box following a free kick by Qatar striker Marcio Emerson.