Larry wants to buy some carpeting for his living room. The leangth of the room is 3 times the width and the total area of the room is 12 square meters. what is the leangth of the living room ?