Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/16
Q:1/8=120
M:2/4
K:D
['F2A2 d2g2 fedf', 'fedf eBdB'  
X:1
L:1/16
Q:1/8=120
M:2/4
K:D
 E2 | F2A2 d2g2 | fedf edBA | G2B2 E2FE | F2A2 BcBA | F2A2 d2g2 | fedf eBdB | A2F2 E2FE | D4 D2 :| 
 g2 | fedf eBdB | A2f2 d2cd | c2A2 G4 | B2A2 F2D2 | fedf eBdB | A2F2 d2ed | c2A2 G2E2 | D4 D2 :|  