Genesis 2 is when God created man and put him in the Garden.
He put man there so he could see God create everything before his eyes and not wonder where it all came from. Read Genesis 2:15 where he put Adam in the Garden to dress it and keep it. Also Genesis 2:9 God made every tree that is pleasant to the sight and good for food.
They are both true and they both happened in the 6 days. The account in Genesis 1 is the Generations of creation as stated in Genesis 2:4. If you read Genesis 2:3 it is the completion of the week, so the next verse is a summary of what transpired. If you can find it there are Bibles that do not have the Numbering of chapter and verse and it is clear that Genesis 2:1-4 are a completion of the first book.
There are no mistakes in the Holy Bible, as many will have you believe. There are only mistakes in man interpretation, or observation of what he perceives. Specially when it comes to fitting in with the rest of the world.
Answer 3rd day.
This quote, from Genesis 2:4-7, disagrees with what you are saying. In it, God is creating man
before creating the plants in the garden. This makes it impossible for God to have already created the plants three days before.
4 This is the account of the heavens and the earth when they were created. When the LORD God made the earth and the heavens - 5 and no shrub of the field had yet appeared on the earth and no plant of the field had yet sprung up, for the LORD God had not sent rain on the earth and there was no man to work the ground, 6 but streams came up from the earth and watered the whole surface of the ground - 7 the LORD God formed the man from the dust of the ground and breathed into his nostrils the breath of life, and the man became a living being.
[biblegateway.com]