We have, total population = 8000
Literate people = 80% of total population = 80/100 x 8000 = 6400
Literate women = 40% of literate people = 40/100 x 6400 = 2560
Ratio of literate women to total population = 2560 : 8000 = 2560/320 : 8000/320 = 8:25
Hence, the ratio of women to total population is 8:25.