Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
Q:1/2=90
M:4/4
K:C
['e2 ge (ce)gf (eg)fa (gb)ag', 'GA (Ba)ge (Ba)gd (Ba)gf (ed)cB (cB)dc (ed)ge'  
X:1
L:1/8
Q:1/2=90
M:4/4
K:C
 C |[K:E]"^A Hornpipe by James Hill" (B/c/d) | e2 ge (ce)gf | (eg)fa (gb)ag | f2 af (df)ag | 
 (fe)dc (Bc)dB | e2 ge (ce)gf | (eg)fa (gb)ag | (fe)fg | (bB)cd | (eB)gf e2 :: GA | (Ba)ge (Ba)gd | 
 (Ba)gf (ed)cB | (cB)dc (ed)ge | (ge)ag g2 fg | (gb).g.a (fg)ef | (db)ca (Bg)Af | (de)fg (bB)cd | 
 (ec)gf e2 :|  