If you assume the nail is made of iron, what is the rust? (google clearly has the answer)
What is the chemical formula of Hydrogen peroxide?
The last part of enahs question is very clear, and requires simple observation on your part. What happened when you added the hydrogen peroxide to the rusty nail?