Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
['FAA GBB FAd fed cBc ABc', 'dBB fBB fgf fed'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
 FAA GBB | FAd fed | cBc ABc | dfe dBA | FAA GBB | FAd fed | cBc ABc | dfe d3 :| dBB fBB | 
 fgf fed | cAA eAA | efe edc | dBB fBB | fgf fed | cBc ABc | dfe d3 :|  