How is the life cycle of a beetle different from the life cycle of a dragonfly? How are they similar?