Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:4/4
K:D
['A2 GFED F2 A2 d3 e f2', 'f2 A2'  
X:1
L:1/8
M:4/4
K:D
 A2 | GFED F2 A2 | d3 e f2 A2 | Bcdc BAGF | F4 E2 A2 | GFED F2 A2 | d3 e f2 A2 | BcdB cdef | d6 :| 
 ef | gfed dcBA | dcde f2 A2 | Bcdc BAGF | F4 E2 A2 | GFED F2 A2 | d3 e f2 A2 | BcdB cdef | d6 :|  