Compose tunes based on the given letter-based musical structure and the supplied motif.
X:1
L:1/8
Q:1/8=470
M:4/4
K:C
['AB e g2 e', 'e2 e2']  
X:1
L:1/8
Q:1/8=470
M:4/4
K:C
 AB |:"C" e g2 e g2 ge | gagf ed c2 | e2 e2 e2 e2 | edcA GDED |"G" GABc d2 d^c | dedc BAGD | 
"F" FGA_B c2 cc |1 e"C"cdc AG z2 :|2 e"C"cdc Aczd | c2 cA |:"G" Bc^cd g2 gg | dega b2 b2 | 
"D7" de^fg agfa |"G" g2 ga gedc | Bc^cd g2 gg | dega b2 b2 |"D7" de^fg agfa ||1 
 g2 [gd]2 [gd]2 [gd][gd] :|2 g2 (3^fgf"G7" =f4 ||  