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:2/2
K:G
['(3efg dB GABG AGEF GBdg egdg egfa', 'dg eaag']  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
 GBdg (3efg dB | GABG AGEF | GBdg egdg | egfa gedB | G3 g (3efg dB | GABG AGEF | GBdg egdg | 
 egfa g2 dg || eaag fdef | gfga bged | eaag fddf | egfa g2 dg | eaag fddf | gfga bgef | 
 gfeg a2 ga | bc'ba gedB |]  