Daryl takes a ribbon that is 48 inches long and cuts it in two pieces. One piece is three times as long as the other. How long is the longest piece? (Type your answer like this: 28 inches)