Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/4
K:D
['a/a/a/ z/', '.e.e (fe) .c.c (dc) .B.B (fe)', '(F2 Ad)'  
X:1
L:1/8
M:2/4
K:D
 a/a/a/ z/ a/a/a/ z/ | a/a/a/ z/ a/a/a/ z/ | FA dd/e/ | dc BA | b/b/b/ z/ b/b/b/ z/ | 
 b/b/b/ z/ b/b/b/ z/ | bd gg/a/ | gf ed | c/c/c/ z/ c/c/c/ z/ | c/c/c/ z/ c/c/c/ z/ | Ac/e/ a2 | 
 Ac/e/ a2 | (fe) df | (ed) ce | d/d/d/ z/ d/d/d/ z/ | d2 z2 :| .e.e (fe) | .c.c (dc) | .B.B (fe) | 
 c>^G A/B/c/d/ | .e.e (fe) | .c.c (dc) | .B.B (fe) | A z a2 :| (F2 Ad) | (F2 Ad) | (G2 Bd) | 
 (F2 Ad) | (E2 GB) | (A2 df) | e^g/g/ gg | a z a2 | (F2 Ad) | (F2 Ad) | (G2 Bd) | (F2 Ad) | 
 (E2 GB) | (A2 df) | eA/A/ Bc | d2 z2 |]  