Compose melodious passages using the designated musical pattern and specified motif.
X:1
L:1/8
Q:3/4=40
M:3/4
K:D
['A2 B2{d}', 'a2 A>F B>G c>A dc/B/ A/G/F/E/ D2'  
X:1
L:1/8
Q:3/4=40
M:3/4
K:D
 A2 B2{d} c2 |{e} d3 e f2 | A2 B2{d} Tc2 | d6 | A2 BABd | e2 Te3 f | A2 B2{d} Tc2 | d4 f2 | 
 (gfga)(ga) | g2 B2 TB2 | fefg (f/g/a) | e2 A2 A2 | gfga Tg2 | fefg{g} Tf2 | (efgab)g | 
{f} e2 dcBA | a4 (b/c'/d') | (bagf)ec |{e} Td3 e f2 | A2 B2{d} Tc2 | d6 :: F<A G<B A<c | defg a2 | 
 A>F B>G c>A | dc/B/ A/G/F/E/ D2 | AFGABc | (d/e/d/e/) fg a2 | A2 B2{d} Tc2 | d4 f2 | 
 (gfga) g/a/g/a/ | (gab)gfe | (fefg) f/g/f/g/ | (fgaf)ed | (g/f/e) (g/a/b) (g/f/e) | 
 (f/e/d) (f/g/a) f/e/d | e/e/f g/g/a bg |{f} Te2 dcBA | Ta4 (b/c'/d') | (b/a/g) (a/g/f) (e/d/c) | 
{e} d3 e f2 | F<A G<B A<c |{c} d6 :|  