Get your taxes done using TurboTax

@salmajuma - given the complexities of this situation, after reading through this thread, you may be best served to hire a local professional to do your taxes this one year.  The risk of getting it wrong, since it is a one-time event, is high.