To determine the percentage of people surveyed who cannot swim, we need to analyze the given relative frequencies.
1. Adults:
- Fraction of adults who can swim: 0.34
- Fraction of adults who cannot swim: 0.06
2. Children:
- Fraction of children who can swim: 0.48
- Fraction of children who cannot swim: 0.12
Next, we sum up the fractions of adults and children who cannot swim:
[tex]\[ \text{Fraction of adults who cannot swim} + \text{Fraction of children who cannot swim} = 0.06 + 0.12 \][/tex]
[tex]\[ 0.06 + 0.12 = 0.18 \][/tex]
Therefore, the combined fraction of people who cannot swim is 0.18. To convert this fraction into a percentage, we multiply by 100:
[tex]\[ 0.18 \times 100 = 18\% \][/tex]
Thus, the percentage of the people surveyed who cannot swim is [tex]\( 18\% \)[/tex].
The correct answer is: [tex]\( \text{B. } 18\% \)[/tex]