How long does it take if you go by airplane?

Literal

Airplane [by-で] go [if-と] how-much takes [question-か]?

どれくらいかかる asks about extent — here, either time or cost depending on context. ~と marks the conditional assumption. The polite ~ますか makes this a courteous inquiry.