The distance between the towns is the number of miles between them
Town A and town B are 24 miles apart.
From the complete question, 4 parts are shaded.
The four parts represent the distance traveled by the bus.
So, we have:
[tex]\mathbf{4\ parts = 12\ miles}[/tex]
Multiply both sides by 2, to get 8 parts
[tex]\mathbf{4\ parts \times 2= 12\ miles \times 2}[/tex]
[tex]\mathbf{8\ parts = 24\ miles}[/tex]
Rewrite as:
[tex]\mathbf{AB= 24\ miles}[/tex]
Hence, town A and town B are 24 miles apart.
Read more about distance at:
https://brainly.com/question/9056440