Design tunes that follow the specified musical pattern while integrating the presented motif
X:1
L:1/8
M:3/4
K:D
['D2 .F2 .A2 [Fd]3 gfe (dc)(BA)GF A2', '(ecA)ecA (^GA)Bc d2', '=g2 (EA)ce g2 (fe)(fg) a2 (DF)(Ad) fd'  
X:1
L:1/8
M:3/4
K:D
 D2 .F2 .A2 | [Fd]3 gfe | (dc)(BA)GF | A2 (GA) GF | E2 .A2 .c2 | [ce]3 agf | (ed)(cA)Bc | 
 d2 (AG)FE | D2 .F2 .A2 | [Fd]3 gfe | (dc)(BA)GF | A2 (GA) GF | E2 .A2 .c2 | [ce]3 agf | 
 (ed)(cA)Bc | [Fd]6 :: (ecA)ecA | (^GA)Bc d2 | (Ba)(^ga) e2 | (Aa)(^ga) [ce]2 | (ecA)ecA | 
 (^GA)Bc d2 | (Ba)(^ge)f^g |1 [ca]6 :|2 [ca]4 ^g2 |: (fd)(AF) Dd | (cd)ef =g2 | (EA)ce g2 | 
 (fe)(fg) a2 | (DF)(Ad) fd | (cd)ef g2 | E2 [Ec]2 [Ec]2 |1 [Fd]4 g2 :|  