Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:D
['f2 (ed) (AF)(Ad) (fe)(fg) (ad)(ef) (ag)(fe) (fa)(fd)', '(df)(fa) (ge)(fg) (fa)(fd) |{cd} e2 (dc) (df)(af)'  
X:1
L:1/8
M:2/2
K:D
|:{de} f2 (ed) (AF)(Ad) | (fe)(fg) (ad)(ef) | (ag)(fe) (fa)(fd) | (BG)(ed) (cA)(Bc) | 
{de} f2 (ed) (AF)(Ad) | (fe)(fg) (ad)(ef) | (ag)(fe) (fa)(fd) |({c} BA)(Bc) d2 z2 :: 
{cd} e2 (dc) (df)(fa) | (ge)(fg) (fa)(fd) |{cd} e2 (dc) (df)(af) | (ec)(dB) (Ac)(de) | 
{de} f2 (ed) (AF)(Ad) | (fe)(fg) (ad)(ef) |{a} g2 (fe) (fa)(fd) |({c} BA)(Bc) d2 z2 :|  