OP, you really don't mean customs, do you? You mean immigration, which will be very quick. Unless you are importing commercial good or have 8,000 cigarettes, you needn't worry about customs. The whole thing, if on one ticket, is very doable. (You would not have been sold the (single) ticket if it weren't.)