Generate tunes according to the specified musical format and the provided motif.
X:1
L:1/8
M:4/4
K:G
['fg edBA', 'G2 Bc d^cde gB^AB g2 ag fd'  
X:1
L:1/8
M:4/4
K:G
|: D2 | GABc dBGB | g2 fg edBA | GABc dedc | BGAF GFED | GABc (3dcB GB | (3ggg fg edBA | 
 dedc BGAF | G2 GF G2 :: Bc | d^cde gB^AB | g2 ag fd (3d^cd | gfed eBcd | edd^c d2 ef | gedc BAGB | 
 ABAG (3EFG AB | dedc BGAF | G2 GF G2 :|  