Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:2/4
K:G
['dB BA/B/ dB', 'dg g2 fe e/f/g/e/'  
X:1
L:1/8
M:2/4
K:G
 Bd de | dB BA/B/ | dB BA/B/ | dB AG | Bd de | dB BA/B/ | dB BA | AG G2 :| dg g2 | fe e/f/g/e/ | 
 ed Bd | ed BA | dg g2 | fe e/f/g/e/ | dB BA | AG G2 :|  