Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/16
Q:1/8=120
M:3/8
K:G
['dc Bcdefg', "g4 d2 defgab c'4 b2 a2agfe d4", "d2b2g2 e2c'2a2 gfedef"  
X:1
L:1/16
Q:1/8=120
M:3/8
K:G
 dc | Bcdefg | d2d2 bg | d2d2 bg | d4 dc | Bcdefg | a2a2a2 | gfedef | g4 :: d2 | defgab | c'4 b2 | 
 a2agfe | d4 bg | g2f2g2 | ^g2a2a2 | gfedef | g4 :: d2 | d2b2g2 | e2c'2a2 | gfedef | gabc'd'2 | 
 d2b2g2 | e2c'2a2 | gfedef | g4 :|  