Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=120
M:6/8
K:G
['d2 c', 'efg efg'  
X:1
L:1/8
Q:1/8=120
M:6/8
K:G
|:"^A" D | GAB cBc | d2 c BAG | cBA d2 c | BGG G2 :|"^B" d | efg efg | efg afd | d2 d def | 
 g2 d B2 A | GAB cBc | d2 c BAG | cBA d2 c | BGG G2 :|  