how customs duty is calculated when:1d