How to stop hot air from engine compartment?
What year make and model?
I doubt you have firewall insulation. Maybe whatever is under the carpet, which isnt much.
May need to install Dynamat or something similar. It will keep the heat, and noise down.