Answer: 512
=======================================================
Step-by-step explanation:
If you had one coin, then there are 2 outcomes because of the two sides heads or tails, which I'll shorten to H and T respectively.
With two coins, there are 2*2 = 4 outcomes (HH, HT, TH, or TT)
Having 3 coins there are 2*2*2 = 2^3 = 8 outcomes
4 coins and we have 2^4 = 2*2*2*2 = 16 outcomes
and so on
With 9 coins there are 2^9 = 512 different outcomes