Carlos Alcaraz and Iga Swiatek both qualified for the second round of the Australian Open in straight sets.