Both teams need one more win to qualify