For the deck, remove both rotten layers and go from there.
You will have a bit of foam work to do as that will be a soggy mess
For the transom.....
Remove motor
Remove splash well and transom trim
Remove plug tube
Remove kick braces and any trim tabs or hardware on the outside
Pull out bad...