Develop melodies by combining the designated musical pattern with the provided motif.
X:1
L:1/8
M:4/4
K:D
['d3 (A BA)FB A2 dA BAFB ABde', 'a3 (g fg)fe'  
X:1
L:1/8
M:4/4
K:D
 d3 (A BA)FB | A2 dA BAFB | ABde f2 ed | (Be)ed (Be)ec | d3 (A BA)FB | A2 dA BAFB | ABde f2 e2 | 
 dBA(F D4) :: a3 (g fg)fe | d2 dA (BA)FB | (AB)de f2 ed | (Be)ed (Be)eg | a3 (g fg)fe | 
 d3 (A BA)FB | (AB)de (fd)ec | dBA(F D4) :|  