What the larva and pupa stages have in common is that both stages take place in water. This is where the insect evolves until it becomes fully grown and then leaves water.
If a chemistry student is given a molecular formula of a molecule, she or he can easily and readily identify if it is compound by checking the bond either a covalent bond or ionic bond. Check the items of each element since elements in a compound are in fixed ratio, she or he can easily identify.