valerie cut a ribbon into four pieces three of the pieces are 6 inches long the other piece is 3 inches long how long was the ribbon before valerie cut it