Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/4
K:D
['fa f/e/d', 'Ac ec de f/e/d'  
X:1
L:1/8
M:2/4
K:D
 fa f/e/d | fa f/e/d | g2 gb | a4 | fa f/e/d | fa f/e/d | Ae g/f/e | d2 d2 :: Ac ec | de f/e/d | 
 g2 ga | f2 f2 | Ac ec | de f/e/d | gf e/d/c | d2 d2 :|  