we have learned that he succeeded to do it as well as how he did it, and therefore i can do it. imagine if we had had to figure it out on our own all over again,” andreas adds.

How would the previous sentence be correctly capitalized?
We have learned that He succeeded to do it as well as how He did it, and therefore I can do it. Imagine if we had had to figure it out on our own all over again,” Andreas adds.