A spring balance is stretched by 2 cm when a force of 8 N is attached to it. The spring balance is attached to a table and a weight is hung freely on it at the edge of the table with a rope that passes over an attached pulley as shown in the figure below. What is the mass of the weight if the spring balance stretches by 6 cm?