P(Get 2 heads out of 3 times)
= P(HHT) + P(HTH) + P(THH)
= (1/2 x 1/2 x 1/2) + (1/2 x 1/2 x 1/2) + (1/2 x 1/2 x 1/2)
= 3(1/2 x 1/2 x 1/2)
= 3/8 (or 37.5%)
The probaaility of getting exactly 2 Heads is 3/8.
You can list all cases
Let H : Head ; T : Tail
Possible Combinations
HHH HHT HTH HTT TTT TTH THT THH
So the probability of getting exactly 2 Heads
=3/8