Create tunes following the given musical pattern and motif.
X:1
L:1/8
Q:1/8=160
M:2/2
K:D
['d2 d>d c2 dz/e/', 'e>d cABc d2 d>d', "d2 a d'2 d'>d' c'2 d'z/a/ (bagf)"  
X:1
L:1/8
Q:1/8=160
M:2/2
K:D
"^pia" A | d2 d>d c2 dz/e/ | fB e>d cABc | d2 d>d c2 dz/e/ | fdec d3 :: d' | .c'.b.a.g .f.e.d.d' | 
 .c'.b.a.g .f.e.d.d' | .c'.b.a.g f(fga) | b>B e>d cABc | d2 d>d (c2 d)ze/ | fB e>d cABc | 
 d2 d>d c2 dz/e/ | f>g e>d d2 :: a | d'2 d'>d' c'2 d'z/a/ | (bagf) efg^g | a2 a>a ^g2 az/b/ | 
 c'>d'b>a a3 f | g2 g>g f2 gz/a/ | bB e>d cABc | d2 d>d (c2 d)(b/g/) | f>g e>d d2 :|  