Tesla Interview Question

How to calculate the energy released?