Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:4/4
K:D
['DBBA B3 c BAdB', 'E2 defe d3 A BAFA dAFA defe'  
X:1
L:1/8
M:4/4
K:D
|: DBBA B3 c | BAdB AFEF | DF F2 A3 B | AF F2 AFEF | DBBA B3 c | BAdB ABde | f3 e defe | 
 dBAF BE E2 :: defe d3 A | BAFA dAFA | defe defg | a2 bf afeg | f3 d efdB | AF F2 ABde | 
 f3 e defe | dBAF BE E2 :|  