Construct a musical piece using the designated motif and sticking to the alphabetical form presented.
X:1
L:1/8
M:4/4
K:D
['A>Bd>e f>ed>c B>dg>B A2 d>c', 'f>ga>g f>ed>c B<dB<g f>dA>d', 'A>df>d A>eg>e f>da>f e>ca>c', 'a>df<a g>dB>d g>Bd<g f>dA>d']  
X:1
L:1/8
M:4/4
K:D
 f | A>Bd>e f>ed>c | B>dg>B A2 d>c | B>dg>B A>df<a | g>fe>d c<e a2 | A>Bd>e f>ed>c | 
 B>dg>B A2 d>c | B>eg>e f<af>d | e2 d2 d3 :: g | f>ga>g f>ed>c | B<dB<g f>dA>d | B>dg>B A>df>a | 
 g>fe>d c<e a2 | f>ga>g f>ed>c | B<dB<g f>dA>d | B>dg>e f<af>d | e2 d2 d3 :: a | A>df>d A>eg>e | 
 f>da>f e>ca>c | B>dg>B A>df<a | g>fe>d c<e a2 | A>df>d A>eg>e | f>da>f e>ca>c | B>dg>e f<af>d | 
 e2 d2 d3 :: (3efg | a>df<a g>dB>d | g>Bd<g f>dA>d | g>dB>g f>dA>f | e>d(3Bcd e>A(3efg | 
 a>df<a g>dB>d | g>Bd<g f>dA>d | B>dg>e f<af>d | e2 d2 d2 :|  