Looks like balsa core? Cut out any bad wood from the under side. Look at anywhere where there was a screw going into or thru.
If there is a lot of bad wood you can remove all wood and replace with foam core (nidacore, hexcell, divynil foam)
Ditch the carpet for godsake! reglass and fair and...