Confusion on weeks to months

Jennifer

Correct me if im wrong but isnt

20 weeks = 5 months

24 weeks =6 months

28 weeks =7 months

32 weeks =8 months

36 weeks = 9months

So where does 40 weeks come from thats technically 10 months??