Tom went on a bike to the store 3 miles away. If it took Tom 1/2 of an hour to get there and 2/3 of an hour to get back , what was his average rate of speed for the entire trip