Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:2/4
K:D
['D2 DE F2 ED']  
X:1
L:1/8
M:2/4
K:D
 F2 FE | D3 A | AA AA | B2 A2 | F2 FE | D3 A | AA AA | B2 A2 | A2 AA | d3 A | AA AG | F2 E2 | 
 D2 DE | F2 ED | CD EF | G2 F2 | D2 DE | F2 ED | C2 E2 | D4 | D2 DE | F2 ED | CD EF | G2 F2 | 
 D2 DE | F2 ED | C2 E2 | D4 |]  