Compose tunes based on the given letter-based musical structure and the supplied motif.
X:1
L:1/8
M:4/4
K:G
['d2 g3 a g>fe>d e>dB>G A>GE>F G>FG>A', 'D2 G>AB>A G>A B2 A>Bc>B A>B c2']  
X:1
L:1/8
M:4/4
K:G
 d2 | g3 a g>fe>d | e>dB>G A>GE>F | G>FG>A B>AB>d | e>dc>e d2 (3def | gfga g>fe>d | e>dg>e d>BA>B | 
 G>AG>E D>CB,>A, | B,2 G,2 G,2 :: D2 | G>AB>A G>A B2 | A>Bc>B A>B c2 | d>ef>e d>cB>A | 
 G>AB>c d2 D2 | G>AB>A G>A B2 | A>Bc>B A>B c2 | d>ef>e d>cA>F | G2 G2 G2 :|  