During the annual walk for peace, nina walked a total of six miles more than her husband ed. Their combined mileage was 46. Ed's company pledged to donate $1.00 for each mile that ed and nina walked. How many miles did nina walk?