Which is the correct sequence of development for an organism which undergoes metamorphosis