Fred can mow a lawn in 40 minutes. Vanessa can mow the same lawn in 80 minutes. How long does it take for both Fred and Vanessa to mow the lawn if they are working together?