Job termination

I had been working in GS Engineering & Construction Mumbai pvt. ltd (mumbai) as a sr. Civil designer from 3rd Feb 2014 to 20th June 2016 in april 2015 on appraisel in april 2015 co. told me my performance is very poor and rated poor co. has given me 58 days notice period and told me look for another job or else we will watch your performance for 58 days if found good we will accept you or else we will terminate you, in that mean time co. has given me some assignment and told me if this assignment are good we may accept you or else terminate you i did the assignment up to the mark and the last moment co. said no this is all wrong and they terminated me June 20 2016 was my last working day in GS Engineering & Construction Mumbai.I don't understand how co. can do this to me in april 2015 i got good increment with wonderful performance & next year i.e in April 2016 saying my performance is not up to the mark & terminated. I am not a rich person my family are fully dependend on me my parents are old I don't have enough money to survive i have resigned my previous job & joined this organisation for better prospect & co. terminated me how can I survive I have two school going kid's their studies will affect their future I sold my flat also because i have no money to pay my EMI's please help...