# C, 219 bytes <!-- language-all: lang-c --> #define q(a)for(;a strchr("aeiouy",*s);putchar(*s++)); f(s,c,h)char*s;{char*a="bcdfgkpstvzhjlmnqrwx",*b="pgtvkgbzdfshjlmnqrwx";q(!)q()putchar(*s);c=b[strchr(a,*s)-a];h=s[strcspn(s,"aeiouy")];printf("%c%c%c%c",c,h,c,h);} [Try it online!] [Try it online!]: https://tio.run/nexus/c-gcc#RY7NbsIwEITvfQpqhLQbwoHzKk@Cctg4dhx@HMdrTAvqs6cktEJzGGlGmvmmdWts781qBEY7RCBeSYraRVBs@uH6rcpCkMI1accRCtluEenDgpS6dDiHhdBjca5Uo1vbnYKkfHfH88WP8fb1XGgqFbqUT11zb628GxrhE0fA9zySrprDHwLP3zuuyVWyZBL88/ifDGsKsffJgtrol9RMtZDRz3Th3oMu84uyyPSwkA/7eu4mPWQTuTO/ "C (gcc) – TIO Nexus"