First of all, you really want to have good clean, fiberglass, similar to the pink suction on the left side of the keyhole. I’m not sure you’ll get good adherence to that stuff that’s sort of a light white color on the right side of the keyhole.
The standard approach would be to next prepare a piece of plywood to the desired thickness, usually by gluing together two pieces or by using thickened resin between two pieces of plywood to obtain the desired thickness. I used Titebond III to glue together the two pieces of plywood in my transom. after you dry, fit the plywood transom piece to make sure it fits, then you create a large batch of thickened resin with fiberglass strands (called peanut butter, due to its consistency) and use it to glue the plywood transom core to the hall.
The plywood transom core needs to be carefully clamped to make sure the flatness of the hull around the keyhole on the outside of the boat is maintained.
If you’re interested, I go into a fair amount of detail (with pictures) on this process in my restoration thread, starting about post number 50. The link to my thread is in my signature below. My transom is shaped a little differently than yours, but the procedure should be pretty much the same.