generate super pattern q dash for q_1 and q_2.