weight gain

I'm freaking out!!! I've gained 40 pounds while pregnant and still have 20 days to go. I'm 5 foot 5 and weigh 160. How much weight did you lose after birth? 
Baby they say weighs 7.5 pounds 
Preprego weight 120 and only eating 1200 calories a day.