if it is like mine (YSM12)
on my Hunter 30' 1979 YSM12First,you need to unbolt everything under the hatch to get to the engine.You will then find a flange bolted with three bolts to the engine block. Remove the 3 bolts and scrape the old gasket off the engine. There are three parts to this- Flange, tube with external threads and the section that goes in the exhaust hose- Replace all three plus new gasket. Also, now is the time to work on the sink if you have any problems as the side has been removed to get to the engine.Good luck