Generate tunes according to the specified musical format and the provided motif.
X:1
L:1/8
Q:1/8=120
M:2/2
K:G
['ed c2 A>G ABcd', 'c2 A>G'  
X:1
L:1/8
Q:1/8=120
M:2/2
K:G
"^A dorian" ed | c2 A>G ABcd | eAce a2 ge | d2 BA GABc | dBge d2 ed | c2 A>G ABcd | efge a2 ba | 
 gedc dfed | c2 A>G A2 :| cd | e2 ab aged | ecAB c2 Bc | dgfa gaba | gedB G2 |1 ed | c2 A>G ABcd | 
 efge a2 ba | gedc dfed | c2 A>G A2 :|2 AB | c2 Bd cBce | d2 cd efge | agec dfed | 
 c2 A>G !fermata!A4 |]  