Your mass, my mass, mass of object x, etc. is going to be the same whether you're on the Earth, the moon, Io, etc. It is the weight that changes depending on your location's acceleration due to gravity.
As it stands you have enough info to solve for the mass of the watermelon on Earth...