Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:Amin
['dd e2', 'T^c>BA f/g/ a>ba>f g>ag>e f>gf>d g/f/e/d/ cf/g/'  
X:1
L:1/8
M:2/2
K:Amin
 c | A/c/d dd e2 de | f>gTe>d g/f/e/d/ ce | d/d/d dd e2 ed/e/ | ff g/f/e/d/ T^c>BA :| f/g/ | 
 a>ba>f g>ag>e | f>gf>d g/f/e/d/ cf/g/ | aa b/a/g/f/ gg a/g/f/e/ | ff g/f/e/d/ T^c>BA :|  