Generate tunes according to the specified musical format and the provided motif.
X:1
L:1/8
M:4/4
K:G
['A E3', 'g2 bg', 'g2 bg'  
X:1
L:1/8
M:4/4
K:G
 G2 dG eGdG | GedB A E3 | DEGA Bdeg |1 gedB A E3 :|2 gedB A4 |: g2 fg e B3 | Bgga bgef | 
 g2 ag eaae |1 gedB A E3 :|2 gedB AGED || g2 bg agbg | g2 bg ageg | g2 bg abeg | gedB AGED | 
 g2 bg agbg | g2 bg agef | gbfg eaae | gedB ABBA ||  