If his weight on Earth is 126lb and only 21lb on moon, you can divide

to see what is the ratio of those weights.

It means that your weight on moon will be 6 times less than on Earth.
Now we have to multiply 31lb which is weight of the person on moon by 6 to get his weight on Earth
