Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:6/8
K:D
['dBA dBA', 'e2 d'  
X:1
L:1/8
M:6/8
K:D
 Bdd dBA | dBA | dBA dBA | Bdd dBA | e2 d e3 :: g2 f g2 a | e2 d e3 | g2 f g2 a | e2 d e3 | 
 a2 e g2 d | e2 d BAG | Bdd dBA | dBA dBA | Bdd dBA | e2 d e3 :|  