Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
M:2/2
K:G
['(dg) egfa gedB', 'G/G/G (BG)']  
X:1
L:1/8
M:2/2
K:G
 b | g2 (dg) egfa | gedB gddb | g/g/g (dg) egfa | gedB G2 G :: B | G/G/G (BG) AEEA | 
 G/G/G (BG) AGBG | cABG AEEa | gedB G2 G :|  