I have two problems that I’ve been struggling with and I was wondering if I could get some guidance with them. Thank you!

You have a 5.58 g sample of phosphorus. If each atom in this sample is excited through heating and then emits a 383 nm photon:

What is the energy of each photon?

How many photons are emitted in total?

What is the total energy of light emitted?

I have the energy of each photon as 5.19e-19J

I can’t figure out the other two, or how to go about answering them.