Problem of residential status

Savvy (Student) (87 Points)

04 September 2011  
X, an Indian citizen leaves India for the first time in September 20, 2008 for the purpose of employment. He bones to India for a visit of 146 days on April 10, 2009. He finally comes back on May 16, 2010. Find out the residential status of X for AY 2011-12. Will anyone be kind enough to solve it in details, showing the number of days of X's presence in India for the various years? Thanks in advance.