Generate tunes according to the specified musical format and the provided motif.
X:1
L:1/8
M:4/4
K:D
['', 'A2 d2 dc defg a2 ab agfe', 'AGAB =cAFA'  
X:1
L:1/8
M:4/4
K:D
 A2 |: d2 dc defg | a2 ab agfe | A B3 dcdB | ABGA FDEF | GFGA B3 c | dcde f2 fa | gfed cdef |1 
 g3 f gfec :|2 gece d3 e || fdAd fdAd | ecAc ecAc | dBFB dBFB | AGAB =cAFA | GFGA B3 ^c | 
 dcde f3 a | gfed cdef | g3 f gfeg | fd d2 fd d2 | ec c2 ec c2 | dB B2 dB B2 | AGAB =cAFA | 
 G2 GF GAB^c | dcde f2 fa | gfed cdef | gece d2 A2 ||  