Two options here
Re use that gasket clean on top and underneath, use liberal amounts of permatex ultra
Use snips, dremmel, rzr,
Multi tool to cut that gasket and introduce the new gasket bits, again using permatex to seal the corners
Whichever you choose clean is the key to making it seal