Are any of these chapters letters, biography, or autobiography/personal testimony?
This is where we need to consider some of the subscripts mentioned above.
If Adam knew the events of Creation Days 1–6, they must have been revealed to him by God, as Adam was not made until Day 6, and so he could have known them only if God had told him. This view is reinforced by the words, ‘These are the generations of [NIV: ‘This is the account of’] the heavens and of the earth when they were created …’ in Genesis 2:4a. The details of Day 7, the rest day, are included before this in Genesis 2:2–3, thereby completing (as we might expect) the record of a full seven-day week, before this subscript or closing signature appears.
Then follow the events of Genesis 2:4b–5:1a. This section tells us about Adam, his wife Eve, and their sons, and reads very much like a personal account of what Adam knew, saw, and experienced concerning the Garden of Eden, and the creation of Eve (chapter 2), their rebellion against God (chapter 3), and the deeds of their descendants (chapter 4 to 5:1), albeit written in the third person6. This section ends with the words, ‘This is the book of the generations of Adam.’
Is it feasible that Adam could have written Genesis 1:1–2:4a as the result of his pre-Fall conversation with God, and Genesis 2:4b–5:1 as the record of his own experiences? There is no problem concerning his ability to have done so. Adam was created a mature man, endowed with all the DNA, knowledge and skill he needed to perform all the tasks assigned him by God. No cave-man he! Adam knew enough horticulture ‘to dress and to keep’ the Garden of Eden (Genesis 2:15), and ample intelligence to recognize and name the distinct kinds of animals (Genesis 2:19). He (and Eve) could converse with God without ever having learned an alphabet, and there is no reason to suppose that he was not fully skilled in writing also.

Genesis 2:4