a 2.800 g sample of metal M reacted with oxygen to form 3.365 g Ms)3. What is the atomic mass of the metal M?

Figure the mass of O that reacted, then divide that by the atomic mass of O to get the moles of O. Then divide that by three, and you have the moles of the metal.

amu M= massmetal/molemetal