Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
M:4/4
K:G
['DGBG A2 (3Bcd eaab gedB G2', 'ea a2 bg g2 agab g2 ag']  
X:1
L:1/8
M:4/4
K:G
 DGBG A2 (3Bcd | eaab gedB | G2 GB ABGE | DEGA AFGE | DGBG A2 (3Bcd | eaab gedB | G2 (3Bcd egdB | 
 GABG A2 (3Bcd || ea a2 bg g2 | agab g2 ag | edef g2 ga | b2 af gedg | ea a2 bg g2 | agab g2 ag | 
 edef g2 ge | dBGB A2 AG ||  