Create tunes based on the provided motif and adhere to the specified musical arrangement.
X:1
L:1/8
M:4/4
K:D
['d2 fd Adfe defg', 'd2 cd eAfA gAaA fAaf gfed AABA'  
X:1
L:1/8
M:4/4
K:D
 Ac | d2 fd Adfe | defg afdf | e2 ge Bded | cdef gece | d2 fd Adfe | defg afdg | fafd fafd | 
 Bgec d2 :| cd | eAfA gAaA | fAaf gfed | AABA cAdA | efed cABc | dded fdgd | fdaf gfed | 
 fafd fafd | Bgec d2 :|  