On a given planet, the weight of an object varies directly with the mass of the object. Suppose that an object whose mass is 9 kg weighs 36 N. Calculate the mass of another object that weighs 24 N.