please help. i don’t get what to do

I think you were doing it right. Just find something in your kitchen and google the chemical formula. And from that you can see the elements in it. For example:
Salt, NaCl, Sodium and Chlorine.
Baking Soda, NaHCO3, Sodium, Hydrogen, Carbon and Oxygen.
Vinegar, CH3COOH, Carbon, Hydrogen and Oxygen