Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:2/2
K:D
["c>eA>c d>fa>c' d'>af>d d>Bb>a", "(c>.d) e>ag>b a>c'g>d' c3/4a<bd'/ c'>ab>c' d'>c'b>d' c'>ba>c'"  
X:1
L:1/8
M:2/2
K:D
 A2 | (d>.f)(e>.d) c>eA>c | d>fa>c' d'>af>d | d>Bb>a g>fe>d | e>dc>B A>^AB>c | d>fe>d c>eA>c | 
 d>fa>c' d'>af>d | d>Bb>a g>fe>c | d2 f2 d2 ::[K:A] (c>.d) | e>ag>b a>c'g>d' | 
 c3/4a<bd'/ c'>ab>c' | d'>c'b>d' c'>ba>c' | b>ga>f d2 d>c | d>fb>d' e>a c'2 | e>gb>g a>ec>e | 
 f>d'c'>b e>gb>g | a>^ga>b a>f=g>e :|  