Answer : The chemical formula for the compound is, 
Explanation :
When the element 'M' react with the
to give
.
The balanced chemical reaction is,

In this reaction, 'M' is in mono-atomic form and
is in diatomic form.
By the stoichiometry,
2 moles 'M' react with the 1 mole of
to give 2 moles of
.
Therefore, the chemical formula of the compound is, 
Amino Acids undergo a kind of acid base reaction within a molecule. The
Amino group acts as a base and accepts proton from
Carboxylic functional group resulting in formation of
Ammonium with positive charge and a negative charge on
Carboxylate. Such molecules containing both positive and negative charges are called as
Zwittor Ions.
Phenylalanine both in Un-ionized and Ionized form is shown below,