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
['DG G2', 'dg g2', 'G2 dG', 'ADFA defd']  
X:1
L:1/8
M:4/4
K:G
|: DG G2 AG (3GGG | DG G2 cAFA | DG G2 ADFA | defd cAFA :| dg g2 aggf | dg g2 agfe | df f2 af f2 | 
 defd cAFA | dg g2 | agfg | a2 ag f2 fg | afge fde^c | d2 eg fdcA |: G2 dG BGdG | G2 dB cAFA |1 
 G2 dG BGBc | defd cAFA :|2 B3 G ADFA | defd cAFA |: B3 G A2 AG | BABd gedc |1 B2 GB ADFA | 
 defd cAFA :|2 BG G2 ADFA | defd cAFA ||  