how on earthAn emphatic way to ask how something was done, often expressing surprise, disbelief, or confusion. It can also be translated as “how the heck” in informal English.
JA: 彼はいったいどうやってそんな難しい仕事を終えたの?
EN: How on earth did he finish such a difficult job?