nice variation of a common textbook problem. you have this reaction
__ M + __ O2 ----> __ M2O5
tossing in a mass balance gives
14.555g M +(25.98g - 14.555g) O2 ---> 25.98g M2O5
we can readily calculate moles O2
then moles M2O5
then moles M
them molar mass M
right?
**********
the rest of the problem
moles O2 = (25.98g - 14.555g) * (1mol / 32.00g) = 0.35703 mol O2
moles M2O5 = 0.3570 moles O2 * (2mol O / 1mol O2) * (1 mol M2O5 / 5 mol O) = 0.14281
moles M = 0.14281 mol M2O5 * (2 mol M / 1 mol M2O5) = 0.28562
molar mass M = 14.555g / 0.28562mol = 50.96 g/mol
your metal is probably vanadium