flex joint exhaust on 2006 Ford Taurus

my exhaust pipe dropped from the flex joint and i kinda had to drag it till i could safely pull over. the flange that attaches the exhaust pipe to the flex joint. my question is what do i have to have done to fix it can i do it myself or what would it cost?

Asked by for the 2006 Ford Taurus
that just happend to my 2006 ford taurus. I just took it to a place that does welding and had them weld a replacment flex pipe on. TRUST ME jerry-rigging it does not work I tried to strap it up with wire and I did a good job, but it still would come lose and it was extremely loud. I paid 150$