Compose tunes based on the given letter-based musical structure and the supplied motif.
X:1
L:1/8
Q:1/8=128
M:4/4
K:G
['D<G G>E A>G A>B']  
X:1
L:1/8
Q:1/8=128
M:4/4
K:G
|: D | D<G G>E A>G A>B | d>e d<B A2 A>B | D<G G>E A>G A>B | G<E D>B, G,2 G,>E | D<G G>E A>G A>B | 
 d<B g>B A2 A>f | g>a e>g d>e g>a | g<e d>B G3 a | g<e d>c B>d G>b | g>B b>B A2 A>a | 
 g<d d>e g>a b>a | g>e d>c B<G G>a | g<e d>c B>d G>b | g>a b>g e2 e>f | g>b e>g d>g B>G | 
 c<A d>F G3 :|  