Take the rear shaft out first, It may be a little stuck and need some persuading but it should slide off the splines behind the carrier bearing. If I remember correctly the carrier bearing stayed on the front shaft when I took mine out. You cannot get the front shaft out unless you completely unbolt the carrier bearing. It comes out with the front shaft. You may also have to persuade it to break loose from the trans.
Darren