In this exercise, there are two ways to work out the strength of g on Mars.
A. Using the formula for the weight force, W = mg.
B. The easy way, using proportions.
Both methods are here.
You can double check your results at the Mars page at NSSDC, the National Space Science Data Center. Look on the Mars fact sheet for the "surface acceleration."