Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:Ddor
['FEFG ABcA d2 ed cedc AcGE', 'd2 fd adfd gAfA eAce dDcD BDAF'  
X:1
L:1/8
M:4/4
K:Ddor
|: A, | D2 ED CA, A,2 | FEFG ABcA | d2 ed cedc | AcGE EDCA, | D2 ED CA,A,A, | FEFG ABcA | 
 d2 ed cedc | AcGE EDD ::[K:D] A | d2 fd adfd | gAfA eAce | dDcD BDAF | GEFD EA,CE | d2 fd adfd | 
 gAfA eAce | dDcD BDAF | GBAG FDD :|  