Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:D
['A2 FA DAFA', 'f2 fg fedc Bggf g3 f edcB'  
X:1
L:1/8
M:2/2
K:D
 fedf edcB | A2 FA DAFA | B2 GB EBGB | A2 FA DAFA | fedf edcB | A2 FA DAFA | Beed cABc | 
 eddc d2 de :: f2 fg fedc | Bggf g3 f | edcB ABce | baa^g a3 =g | f2 fg fedc | Bggf g3 f | 
 edcB ABcd | eddc d2 de :|  