Eve is making a bird house. To make the walls she takes a piece of wood and cuts it into 4 pieces in the ratio 5:6:6:7. The longest wall is 9cm longer than the shortest wall. How long was the original piece of wood