If the Q01 answer codes are "a", "b", "c", "d" and "e", then the equation for the inserted text would be:
{if(Q01.code == 'a' OR Q01.code == 'b' OR Q01.code == 'c' OR Q01.code == 'd' OR Q01.code == 'e', Q01.shown, Q01_other.shown)}