The weight of the body is the product of its mass times acceleration due to gravity W = m*g. Therefore, g = , and you have everything given to calculate "g" on your own.