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
['B2 B>A B<dd>g', 'd<gg>f f<ee>g']  
X:1
L:1/8
M:4/4
K:G
|: G>A | B2 B>A B<dd>g | e>de<g e2 d>G | B2 B>A B<dd>g | e<Bd>B G2- :| G>B | d<gg>f f<ee>g | 
 d<Gd>B A2 A>B | d<gg>f f<ee>g | d<Gd>B G2 G>B | d<gg>f f<ee>g | d>ed>B B<AA>G | B2 B>A B<dd<g | 
 e<gd>B G2- ||  