Construct tuneful phrases by integrating the assigned musical pattern and given theme.
X:1
L:1/8
M:4/4
K:G
['AGEG cBcA dedc BGBd (3cBA (3BAG', 'dgBg dgBg gb (3agf e2 e>f (3gab'  
X:1
L:1/8
M:4/4
K:G
 (3DEF | GFGB AGEG | cBcA dedc | BGBd (3cBA (3BAG | EGFA (3GDB, (3G,B,D | G2 GB AGEG | cBcA dedc | 
 BGBd (3cBA (3BAG | EGFA G2 || Bc | dgBg dgBg | gb (3agf e2 e>f | (3gab (3agf (3gfe dB | 
 (3def (3def gdBc | dgBg dgBg | gb (3agf e2 e>f | (3gab (3agf (3gfe dB | (3def (3def gdBA ||  