I am unsure what information you know to be fact, what you have come across in your research, and what outcome you are wanting.
You have Mary, died Tasmania, 1940..and you do not know if she was married or unmarried.
Is this woman the subject of your research, and you have been looking for her background?
Or is Mary Montgomery, arr. Tasmania 1884, the person of interest to you, and she might be the woman who died in 1940?
Can you name the woman who died in 1940 with any details you know about her, and the death...date, place.