Answer:
32 km
Explanation:
The scale for a map determines the ratio between the distance on the map and the distance in real like.

Because we know the closest beach is 12 cm away then we have
.
Notice that 4cm becomes 12 cm by multiplying by 3. Do the same for the denominator and we'll have the distance in kilometers.
