Compose melodies using the given motif and follow the designated arrangement.
X:1
L:1/8
M:3/4
K:D
['A2 B2{d}', 'a2 A2 B2{d} Tc2', 'A2 B2{d}', 'Tc2 d4 f2 (3gba Tg4 geBG E2'  
X:1
L:1/8
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 | (efga)bg | 
{f} Te2 dcBA | A4 (b/c'/d') | (bag)fec |{e} d3 e f2 | A2 B{d} c2 | 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/ | (fgafed) | (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 :: .A.F.GABc | defg a2 | 
{B} A2 B2{d} Tc2 | dc/B/ A/G/F/E/ D2 | AF .G/.F/G/A/ B/A/B/c/ | .d/.c/d/e/ f/e/f/g/ a2 | 
 A2 B2{d} Tc2 | d4 f2 | .g.b.geBG | E2 b2{a} Tg2 | (f/a/g/f/) e/d/c/B/ A/G/F/E/ | F2 a2{g} f2 | 
 gEGbgE | EFgabg |{f} Te2 dcBA | a4 (b/c'/d') | bGFaec |{e} d3 e f2 | A2 B2{d} Tc2 | d6 :| AFGBAc | 
 dAfd a2 | A2 B2{d} c2 | dc/B/ A/G/F/E/ D2 | (3AGF BGcA | (3ded (3fgf a2 | (3ABA B2{e} Tc2 | 
 d4 f2 | (3gba Tg4 | geBG E2 | (3fag f4 | fdAF D2 | b/g/f/g/ Tg4 | a/f/e/f/ Tf4 | 
 e/f/e/f/ g/f/g/a/ b/g/f/g/ |{f} Te2 dcBA | a4 b/c'/d' | (b/a/g) afec |{e} Td2 e2 f2 | 
 A2 B2{d} Tc2 | d6 D.C .a Ca!p! ||  