Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
M:2/4
K:G
['D2 E>FG>B A>GE>F', 'B2 B>A B>cd>B']  
X:1
L:1/8
M:2/4
K:G
|: G>E D2 E>FG>B | A>GE>F G>Bd>c | B>D D2 E>FG>B | A>GE>F G2 G2 :: B2 B>A B>cd>B | A2 A>G A>Bd>c | 
 B2 B>A B>cd>B | A>GE>F G2 G2 :|2 :|  