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
['GGDG B2 D2 A^GAB', '^d e2 c4']  
X:1
L:1/8
M:2/2
K:G
 d2 de dcBA | GGDG B2 D2 | A^GAB c2 D2 | GFGA B2 c^c | d^cde d=cBA | GGDG B2 D2 | A^GAB cAFA | 
 D G2 F G4 ::[K:C] e4 e3 ^d | e2 c4 Bc | dcBA G2 ^F2 | =F6 A2 | d4 d3 ^c | d2 B4 A2 | c3 B c2 A2 | 
 G2 ^FG ABcd | e4 e3 ^d | e2 c4 c2 | d2 ^cd e2 d2 | e f3 A4 | AcBc dcBA | G2 EG cBce | 
 g2 fe d2 g2 |1 c6 G2 :|2 c8 |]  