Given data:
The numbers of times coin flipped is n=3.
The sample space is,
[tex]S=\mleft\lbrace(\text{HHH}\mright),\text{ (HHT), (HTH), (HTT), (THH), (THT), (TTH), (TTT)}\}[/tex]The expression for the probability of getting exactly 2 times tail is,
[tex]P(2T)=\frac{3}{8}[/tex]Thus, the probability of getting exactly 2 times tail is 3/8.