Iddat

Where should a woman spend her iddat?

Q: If a woman's husband has pasted away, is her father-in-law her mahram? The wife stays with her in-laws mother/father in-law, brother in-law/wife. Can she make her iddat in her current home, or should she stay with her mother and do her iddat. (The distance between her home and her mothers is 300km) or should her mother stay with her at her in-laws?

Iddat of a woman whose husband passed away after childbirth

Q: What will be the "iddat" of a woman if her husband passes away and she has a 6 day old baby? It is in my knowledge that if the woman is pregnant then till delivery she is in iddat and in normal cases it would be 4 months and 10 days. But my question is this that just 6 days before the death of the husband she delivered. So is there no iddah and she will be "paak or tahira" in 40 days. Or she will complete 4 months?