Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/4
M:3/2
K:D
['A B3/2 c/ d c3/2 B/ A', 'A B3/2 c/ d c3/2 B/ A', 'A F2'  
X:1
L:1/4
M:3/2
K:D
 A | B3/2 c/ d c3/2 B/ A | d2 B A F2 | E3 E2 A || B3/2 c/ d c3/2 B/ A | d2 B A F2 | D3 D2 || 
 A/4B/4c/ | B2 G A F2 | B2 G A F2 | E3 E2 A/4B/4c/ | B2 G A F2 | d2 B A F2 | D3 D2 |]  