Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
Q:1/4=100
M:2/4
K:G
['e ed', 'B cBAG A3 D A2 A>A A3']  
X:1
L:1/8
Q:1/4=100
M:2/4
K:G
 D | DG GB | B !>!d2 d | dA A>B | A3 D | DF FA | A !>!c2 e | ed d>c | B3 G | GB Bd | d !>!g2 g | 
 ge e>d | e3 e | ed dB | dcc D | DB B>A |1 G2 z :|2 G2 z D |: B2 B>B | B3 B | cBAG | A3 D | 
 A2 A>A | A3 A | BAGF | G3 D |!<(! DG GB!<)! | d !>!g2 g | ge e>d | e3 e | e>d dB | dcc D | 
 DB B>A |1 G2 z D :|2 G2 z |]  