Dva uxa you have it backwards.
The letters used to spell the vowels are in pairs, and one pair comes after palatalized consonants, the other pair after nonpalatalized. (This is a little generalized). There are only five phonemic vowels /aeoiu/ in Russian, and they are spelled
а э о ы у
or
я е ё и ю
depending on preceding consonant and some spelling rules.