Scenario 1
So now we need West Indies to win against Scotland and Zimbabwe to loose against UAE, the first one can happen but I am not sure Zims will loose against UAE. Even after that two happens Afghanistan need to beat Ireland. This way Afghanistan will be at 8 points, West Indies 8 points with Scots and Zims at 5 points each.
Scenario 2
Scotland beat West Indies go to 7 points, UAE beat Zims and Afghanistan beat Ireland - Afghanistan and Scotland will qualify if Afghanistan surpass WI NRR.
In either of the scenario Zims need to loose or else there is no chance for Afghanistan to qualify as West Indies or Scotland is a virtual final.