Construct tuneful phrases by integrating the assigned musical pattern and given theme.
X:1
L:1/16
M:2/4
K:G
['D2 GGGG BABd egdg bgeg GGGG AGBG', 'A2a2 a2(ba) gfef'  
X:1
L:1/16
M:2/4
K:G
 D2 | GGGG BABd | egdg bgeg | GGGG AGBG | AGBG GFED | A2>B2 AGAB | cBcd edef | gfga gfed | 
 cBAF G2 :: A2a2 a2(ba) | gfef g2g2 | G2Bd gfed | edef g2G2 | A2a2 a2(ba) | gfef g2d2 | egfa gfed | 
 cBAF G2G2 :|  