If they lose against Juventus in 2 weeks and Shakhtar win then chelsea will be looking at being knocked out.
This will mean that Shakhtar 10 points Juventus 9 points Chelsea 7 points
That would mean that Juventus and Shakhtar who play each other would only have to draw because Juventus would go through because of the head to head with Chelsea.