Maisie and Tom are 2 miles apart. They start walking towards each other with 3 mph and 5 mph, respectively. Bruno, the dog, runs from one person to the other, turns instantly and runs back, and repeats this at 12 mph until the two people meet. What is the distance covered by the dog?