Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
Q:1/8=180
M:6/8
K:G
['D DGG GBG AFD (3(D/E/F/) GAf dfe', 'g/a/g/f/g GFG f/g/f/^e/f FGA fed', 'BGd AFD (3(D/E/F/)GA'  
X:1
L:1/8
Q:1/8=180
M:6/8
K:G
|: D | DGG GBG | AFD (3(D/E/F/) | GAf dfe | cAB GdA | FDD GGG | BGA FD(3(D/E/F/)GA | fed ecA | 
 AGG G2 :: B/d/ | g/a/g/f/g GFG | f/g/f/^e/f FGA | fed e/f/ed | cAG FED | g/a/g/f/g GFG | 
 f/g/f/^e/f FGA | fed ecA | AGG G2 :: d/c/ | BGd BGd | AFD (3(D/E/F/)GA | f2 d e2 d | cAG FDC | 
 DGG BGd | AFD (3(D/E/F/)GA | fed ecA | AGG G2 :|  