We have the next possible events
The events are
HHH
HHT
HTH
HTT
THH
THT
TTH
TTT
The probability that I will have exactly 2 heads is
9.5m questions
12.2m answers