Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['FG AB', 'd2 |]: FA Ad', 'dg ce ea ae dc Bc dF'  
X:1
L:1/8
M:4/4
K:D
 FG AB Ad de | fd BA g2 fg | af d2 ge ca | fd AF Gd AG | FG AB AB cd | Bc de fA (3AAA | 
 B2 dB Aa (3aaa | ad Af d2 d2 :| |]: FA Ad Gd dg | ce ea ae dc | Bc dF AD EF | GF GA E2 E2 | 
 FA Ad Gd dg | Bc de fA (3AAA | B2 dB Aa (3aaa | ad Af d2 d2 :|  