Create melodies using the given musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['A,2 EA, G,B,DG FD D2', 'cA A2'  
X:1
L:1/8
M:4/4
K:D
 A,2 EA, G,B,DG | FD D2 ADFD | EDCA, G,B,DG | FDAD BDAD | A,2 EA, G,B,DG | FD D2 ADFA | 
 c2 AG EDCE | DFAD GEFD :| cA A2 EDCA | cA A2 AB=CA | BGGF GEDG | BGGF GBdB | cA A2 EDCF | 
 EDCB, A,CEC | DFAF (3GFG ED |1 CEAB cABd :|2 CEAB cA A2 ||  