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
['Bc dcBA Ggfg e4 d4 cdcB ABAG', 'e2 ag f4']  
X:1
L:1/8
M:4/4
K:G
|: Bc | dcBA Ggfg | e4 d4 | cdcB ABAG | F4 E4 | DEFG A2 B2 | c2 de d2 c2 | BAGA D2 F2 | G6 :: d2 | 
 g2 bg e2 ag | f4 d4 | g2 ag e2 ag | f4 d2 ef | gddd gddd | gdgd gddd | gagf edcB | ABAG FGFE | 
 DEFG A2 B2 | c2 de d2 c2 | BAGA D2 F2 | G6 :|  