Generate tunes according to the specified musical format and the provided motif.
X:1
L:1/8
M:2/2
K:D
['d2 dB', 'fdad cBAB cdef :|2 cdef gbaf gefd'  
X:1
L:1/8
M:2/2
K:D
|: d2 dB AFAB | d2 dB gfec | d2 (dB) ADFA |1 gfed cABc :|2 gfed cdef |]: d2 (ad) fdad | d2 (ad) |1 
 gfec | d2 (ad) fdad | cBAB cdef :|2 cdef | gbaf gefd | edcB ABcA |]  