Timothy had 24 meters of ribbon. He cuts it into 2 pieces. The shorter piece is 6 meters long. What is the length of the longer piece?