Croatia advances with a win or a draw. If it loses it might still advance if Canada wins, depending on the margins of victory. Belgium advances with a win. It could advance with a draw if Canada wins by several goals.
Morocco advances with a win or a draw. It would also advance with a loss if Croatia wins. If Morocco loses and Croatia draws, it will come down to goal difference against Belgium. If it loses and Croatia loses, it will be out unless Croatia loses by several goals more. Canada has been eliminated.