Middletown Street, which is 7.9 meters wide, intersects with Winchester Avenue, which is 5 meters wide. Matthew walks his dog across Middletown Street and then turns and walks across Winchester Avenue. Suddenly, Matthew's dog runs diagonally across the intersection back to the corner they started on. How far does Matthew's dog travel in all? If necessary, round to the nearest tenth.