The scale on a map is 1 cm represents 40 km. The actual straight line distance between 2 cities is about 340 km. What is the distance between 2 cities?