Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:G
['gage d2', '[M:2/2] ABAF'  
X:1
L:1/8
M:2/2
K:G
 g2 dg b2 gb | a2 fa gfed | efga b2 gb | a2 fa gfed | efge d2 Bd |1 gage d2 BG | ABAF G2 G2 :|2 
 gage d2 Bd | gage d2 [GB]2 | ABAF GFGE || DCB,C GFGA |[M:3/2] BGBd cBce d2 d2 | BGBd gage d2 BG | 
[M:2/2] ABAF GFGE | DCB,C GFGA |[M:3/2] BGBd cBce d2 d2 | BGBd gage d2 BG | 
[M:2/2]{B} ABAF GG[GB]G | DGGA [GB]G[GB][GB] | cBce dedc |[M:3/2] BGBd gage d.[GB].[GB].[GB] | 
[M:2/2] ABAF GFGE | DCB,C GFGA |[M:3/2] BGBd cBce dedd | BGBd gage d.[GB].[GB].[GB] | 
[M:2/2] ABAF G2 [G,G]2 ||  