As we know that acceleration due to gravity is given by
[tex]g = \frac{GM}{r^2}[/tex]
here we know that
g = 3.60 m/s^2
M = ?
[tex]r = 3.4 \times 10^6 m[/tex]
now we have
[tex]3.60 m/s^2 = \frac{(6.67 \times 10^{-11} Nm^2/kg^2)(M)}{(3.4 \times 10^6)^2m^2}[/tex]
[tex]M = 6.24 \times 10^{23} kg[/tex]
so above is the mass of Mars