Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:9/8
K:D
['D>ED D>dB AFD', 'd>ed ded cBA'  
X:1
L:1/8
M:9/8
K:D
 D>ED D>dB AFD | E>FE EFA B2 d | D>ED D>dB AFD | E>FG FEF B,3 :: d>ed ded cBA | B>cB Bcd e2 f | 
 d>ed ded cBA | dcB AGF E3 :|  