Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:2/2
K:D
['A<D B/A/G/F/', 'f<d f/g/a/f/']  
X:1
L:1/8
M:2/2
K:D
 d/B/ | A<D B/A/G/F/ G<E E>F | A<D B/A/G/F/ A<d d>A | (3Bcd (3AGF G<E E>c | d>B A<F A<dd :| g | 
 f<d f/g/a/f/ g<e e>g | f<d f/g/a/f/ d>af>a | (3bag (3agf g<e e>f | d>B A<F A<d d>g | 
 f>d f/g/a/f/ g<e e>c | (3def (3edc (3Bcd (3AGF | (3GAB (3AGF G<E E>c | d>BA>F A<dd ||  