Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:6/8
K:D
['A2 G FGA', 'f2 d e2 c dcB'  
X:1
L:1/8
M:6/8
K:D
|: A2 G | FGA D2 d | c2 B A2 G | FGA DEF | E3 A2 G | FGA D2 d | c2 B A2 G | FGA ABc | d3 :: d2 e | 
 f2 d e2 c | dcB A3 | fed c2 d | e3 ede | f2 d e2 c | dcB A2 G | FGA ABc | d3 :|  