Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:D
['A,<D D>E'  
X:1
L:1/8
M:4/4
K:D
 A"A" |"D" A,<D D>E F>G A<B |"E7" B,<B, E>D"A7" C<A, A,2 |"D" A,<D D>E F<G A<f | 
"A7" e<c d/c/B/A/"D" d2 d :| f"B" |"D" d>f A<f d<f a>f |"Em" g>f e>d"A7" c<A A<f | 
"D" d<fA>f d/e/f/g/ a<f |"A7" g<e d/c/B/A/"D" d2 de |"D" f<d A<F"Bm" d<A F<D | 
"Em" G>F E>D"A7" C<A, A,2 |"D" A,<D D>E F<G A<f |"A7" e<c d/c/B/A/"D" d2 d |]  