https://easyexamnotes.com/cnf-from-s-aada-ab-babb-bd-d/
CNF from S-->aAD;A->aB/bAB;B->b,D->d.