Now i've googled a bit but not found much and i'm lazy...How did Wales qualify for these finals?

bear in mind i live abroad and i'm lazy