Distance between two towns is 3,5cm,what is the actual distance in kilometres if you are givem a bar scale of 8km?

Do you mean that 1 cm on the map = 8 km?