For "ayn" you have to constrict your throat using the back of the tongue, in other words, emphasising that vowel/syllable. For "ghain", it's the same, obviously sounding different. The internet is your friend.
Also, actual Arabs would be the best people to learn from