We just handwave it, pick your two languages. Dragonborn from Tymanthor and Drow from Menzobarrenzen should know Draconic and Undercommon respectively so just choose those as one of your languages.
In my games Druidic and Thieves Cant can't be chosen as a starting language, those have to come...