Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
Q:1/2=60
M:2/2
K:G
['G2 B2 d3 d (gd)(cB) A3 B', 'egdg cgBg']  
X:1
L:1/8
Q:1/2=60
M:2/2
K:G
 G2 B2 d3 d | (gd)(cB) A3 B | c3 d (Bc)(gd) | B2 AG G4 || B2 d2 g3 f | e2 (a/b/)(a/g/) f3 g | 
 f/g/e/g/ f/g/e/g/ | f/g/f/g/ a>e | f2 (ed) d3 g | egdg cgBg | egdg cgBg | 
 e2 d>c B>c (B/c/)(d/A/) | B2 (AG) G4 |]  