Good luck finding a donor that isn't rusted in that area. Every single time i have removed that foam from a car, i have found rust.
Making your own repair panels is tricky since the whole section is made of compound curves.
Gotta cut it all out and replace. Oh, and please don't add any new foam. Once repaired and painted on the inside, just clean it out every once in a while.