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
8.8m questions
11.4m answers