Wales face Azerbaijan in their penultimate Euro 2020 qualifier in Baku on Saturday before completing their campaign against Hungary on Tuesday.
They are the most important matches of Ryan Giggs' reign and this is what they need to qualify for the tournament.
What Wales need
If Wales beat Azerbaijan, they will qualify automatically if they win against Hungary and Slovakia drop points in either of their remaining games against Croatia and Azerbaijan.
If Wales draw with Azerbaijan, they can still qualify automatically, but they'd need to beat Hungary (claiming a better head-to-head record against them in the process) and hope Slovakia claim no more than two points from their remaining games against Croatia and Azerbaijan.
Wales can't qualify automatically if they lose to Azerbaijan.
The Red Dragons will also miss out if Slovakia win their remaining two games.
What about the Nations League?
To earn a Nations League play-off spot, Wales need one more of Austria, Sweden, Bosnia & Herzegovina or Denmark to qualify automatically given that Ukraine and Russia have already secured their place at next year's tournament. This is extremely likely to happen so the Nations League backstop is almost certainly there.
The play-offs take place in March next year.
Upcoming fixtures
Friday
Bosnia & Herzegovina v Italy
Denmark v Gibraltar
Romania v Sweden
Saturday
Austria v North Macedonia
Monday
Republic of Ireland v Denmark
Sweden v Faroe Islands
Liechtenstein v Bosnia & Herzegovina
Tuesday
Latvia v Austria