Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['gfeg fdAG FGA=c BG{A} EFGg'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 A2 |"D" dfaf"G" gfeg |"D" fdAG FGA=c |"G" BG{A} (3GFG"Em" EFGg |"D" fd"A"ec"D" dc"A"BA | 
"D" df (3agf"G" gfeg |"D" fdAG FGA=c |"G" BG{A} (3GFG"Em" EFGg |"D" (3fga"A" ec"D" d2 :: f"D"g | 
 a2 fd dfaf | dfaf"Bm" bagf |"Em" g{a}g{f}ge =cege | =cege"A" agfe |"D" a{b}a{g}af dfaf | 
 dfaf"Bm" bagf |"Em" g{a}g{f}ge"G" gbag |1"D" fd"A"ec"D" de :|2"D" fd"A"ec"D" d2 ||  