Opener Usman Khawajas first double century and a ton on debut by Josh Inglis helped Australia to 654-6 declared on day two of the first match against Sri Lanka on Thursday.