use '?' for JOKER (blank)

From letters G, A, M  I made following words

3 letter words

gam[6], mag[6]

2 letter words

am[4], ma[4], ag[3]