5.     - I am two years older than the lion, said the wise owl.

- And I am half your age, the porcupine replied to the owl. The lion looked at him and said proudly, slightly wrinkling his nose: - I am four years older, Than you, honorable quill-nose. And how old are they all together? Check your answer twice.
5. Let the hedgehog be $x$ years old, then the owl is $2x$, and the lion is $(2x-2)$. We have the equation $(2x-2)-x=4$, from which $x=6$. Therefore, the hedgehog is 6 years old, the owl is 12, the lion is 10, and together they are 28.