Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:2/4
K:D
['D/D/ DF AD/D/ GB dc/B/ A>F', 'dD FA BG GB A>F'  
X:1
L:1/8
M:2/4
K:D
|: D/D/ | DF AD/D/ | GB dc/B/ | A>F DF | E3 D/D/ | DF AD/D/ | GB dc/B/ | A>F G/F/E | D2- D :| 
 A/A/ | dD FA | BG GB | A>F DF | E3 A/A/ | dD FA | BG GB | A>F GE | D2 DA/A/ | dD FA | BG GB | 
 A>F dF | E3 A/F/ | D/E/F/G/ AF/D/ | G/A/B/c/ dc/B/ | A>F GE | D2- D ||  