Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['de fedB A2', 'd2 de fdad fddg fdaf e2 de'  
X:1
L:1/8
M:4/4
K:D
 de | fedB A2 FG | AFBF A2 de | fedB A2 FA | Beef e2 de | fedB A2 FG | AcBG A2 de | fefd BAFA | 
 Bdde d2 :| de | fdad fddg | fdaf e2 de |1 fdad fddA | Bdde d2 :|2 faaf gabg | afef d4 |]  