Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
Q:3/8=70
M:6/8
K:D
['cde e2 f e2 d', 'afa geg fdf ecA'  
X:1
L:1/8
Q:3/8=70
M:6/8
K:D
 cde e2 f | e2 d ecA | ded fgf | ded fgf | cde e2 f | e2 d c2 c | def g2 f | edc d3 |: afa geg | 
 fdf ecA | d2 d fed | c2 d e3 | afa geg | fdf ecA | fed bag | fge d3 :|  