I'm working on chemistry and I'm not quite sure how to solve this question? I haven't worked with moles before and whenever I try to figure out how to do these types of question I only end up confusing myself more.
How many Mg atoms are in 5.7892 mol of $\ce{Mg(NO3)2}$?
How many N atoms does the sample contain?
How many O atoms does the sample contain?
I haven't any clue how to do this so a walkthrough on how to solve these types of problem would be nice.