At a junction of equal-priority roads the right-hand rule applies. The black car has no one on its right, so it goes first. After that the yellow car no longer has anyone on its right, so it goes next. The green car, turning left, must yield to both the yellow car coming from the right and the black car coming straight from ahead, so it goes last.