The concept used to solve this problem is gravitational potential Energy.
The equation is given by,

Where U is the gravitational potential energy
M is the mass of object
R is radius (10000m)
G is the unviersal gravitational constant

We know that the mass of neutron star is 1.4 times the mass of the sun.
It is known that the mass of sun is

Replacing the values in our equation we have:


Therefore the energy released in a massive-star supernova explosion is

To estimate the second point we know that the Total Energy by the Sun is

We can calculate the ratio between a supernova explosion and our entire main-sequence lifetime energy of the sun.



Therefore the amount of energy radiated by a supernova explosion is around
times more than the entire main-sequence lifetime energy of the sun.