Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:2/4
K:D
['Ad F>E DF E2 FE- E/F/G/A/ BA', 'D2 FE E>A B/c/B/A/ F/G/F/E/ FE- EF/A/'  
X:1
L:1/8
M:2/4
K:D
|: Ad F>E | DF E2 | FE- E/F/G/A/ | BA F2 | Ad FE | DF ED | F/G/F/E/ FE | D2 D2 :: FE E>A | 
 B/c/B/A/ F/G/F/E/ | FE- EF/A/ | B>A FG | A>d FE | D>E FD | F2 F/G/F/E/ | D2 D2 :|  