Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
Q:3/8=120
M:9/8
K:D
['e2 d cAc', 'Ace aec'  
X:1
L:1/8
Q:3/8=120
M:9/8
K:D
 e2 d cAc cAc | e2 d cAc d2 B | e2 d cAc cAc | dcd B2 c dcB :: Ace aec aec | Ace aec d2 B | 
 Ace aec aec | dcd B2 c dcB :|  