Coin Probability (Pattern) Question?

For a fair coin, what is the expected number of tosses needed to first get the pattern HHH? HTH?

The answers are 14 and 10 respectively but I dont know how any one can come up with that through calculations. Please help.

Thanks
1 answer 1