Larry wants tp buy some carpeting for his living room. The length of the room is 3 times the width and the total area of the room is 27 square meters.

What is the length of the living room?