This is what I did to fix the broken stud and leaking surface of the exhaust manifold and Y pipe flange.
I also used high temperature copper sealant on manifold gasket even though it wasn't necessary as I sanded a surface
perfectly flat.
These pictures are self explanatory.