If you click help and type in gedcom. There are instructions on how to do it. I just found them today after searching with a number of words and phrases.
Basically, open up tree on ancestry.com that you want to export. click Tree Settings and you will see box on right that talks about managing trees. click it once to create gedcom and then you will need to click the box again to dowload it. Hope this helps