Generate tunes according to the specified musical format and the provided motif.
X:1
L:1/8
Q:1/4=112
M:6/8
K:C
['G (c2 e) (c2 A) (G2 F)', 'c2) c e2 e e2 c (g2'  
X:1
L:1/8
Q:1/4=112
M:6/8
K:C
"^Allegretto" G | (c2 e) (c2 A) | (G2 F) (EFG) | (A2 d) (G2 B) | (c3 c2) :| c | e2 e e2 c | 
 (g2 e) (c2 d) | d2 d (d>cd) | (e3 d2)!D.C.! ||  