Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
Q:1/8=120
M:4/4
K:G
['AGEG AcBA GFGA', 'A Bdef g2 fg agfg edBd gfed']  
X:1
L:1/8
Q:1/8=120
M:4/4
K:G
 gf | efed BedB | AGEG AcBA | GFGA BA (3Bcd | eAAG A2 Bd | efgf efdB | AGEG AcBA | GFGA (3Bcd Ac | 
 B2 G2 G3 A || Bdef g2 fg | agfg edBd | gfed BA(3Bcd | eAAG A2 (3Bcd | (3efg af g2 fe | dBAG AcBA | 
 GFGA (3Bcd Ac | B2 G2 G2 z2 ||  