A mass of 2kg hangs freely at the end of a string, which passes over a smooth pulley fixed at the edge of a smooth table. The other end of the string is attached to a mass M on the table. If the mass on the table is doubled the tension in the string increases by one-half. The mass M is :