Usman Khawaja's double hundred and twin centuries from Steve Smith and Josh Inglis helped Australia take complete control over Australia on Day 2 of the Test match.