In order to calculate the total energy used in 30 seconds, first let's find the power that is actually used, by multiplying the power and the efficiency:
[tex]P=400\cdot\frac{85}{100}=340\text{ W}[/tex]Now, to find the energy used, let's multiply the power by the amount of time:
[tex]\begin{gathered} E=P\cdot t\\ \\ E=340\cdot30\\ \\ E=10200\text{ J} \end{gathered}[/tex]Therefore the correct option is D.