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=180
M:6/8
K:G
['G2 A', 'def g2 g f2 f']  
X:1
L:1/8
Q:1/8=180
M:6/8
K:G
|: BAA AGA | BGG G2 A | BAA ABd | efe edB | BAA AGA | BGG G2 A | GED G2 A | Bdd dBA :: def g2 g | 
 f2 f e2 e | def g2 g | f2 f edB | def g2 g | f2 f e2 e | dBA ABd | efe edB :|  