A cyclist bikes x distance at 10 mph and returns over the same path at 8 mph. What is the cyclist's average rate for the round trip in miles per hour?

(The answer given in the back of the book is 8.9. I don't understand how to get that answer -- my answer was 9)