Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:4/4
K:D
['dAFA d2 cd ecAc e2 ef gfed', 'fg afge'  
X:1
L:1/8
M:4/4
K:D
 AB/c/ | dAFA d2 cd | ecAc e2 ef | gfed Beed | c2 AA A2 Bc | dAFA d2 cd | ecAc e2 ef | gfed BecA | 
 d2 dd d2 || fg | afge d2 ed | cdef g2 fg | afge dfed | c2 AA A2 Bc | dAFA d2 cd | ecAc e2 ef | 
 gfed BecA | d2 dd d2 ||  