Hey prathika !
I was also confused by the way the author has solved the que. . I tried to do this by series - parallel method , but couldn't . Then I asked my teacher , and he advised me to avoid such hard lengthy subjective problems , as these r never asked in competitive exams . So , I hav left this que. .
But still , if u get to know the solution , then pls tell me !!!!!