Coin Flip Sequences

When flipping an unbiased coin, on average it takes longer for HHT to occur than for HTT, even though the sequence probabilities are equal.

    
Find the mean number of coin flips to reach HHT:
Find the mean number of coin flips to reach HTT: