Develop a piece of music by incorporating the provided motif and following the outlined musical structure represented by alphabet characters.
X:1
L:1/8
M:9/8
K:D
['', 'dcd efd cde', 'aff ged cde']  
X:1
L:1/8
M:9/8
K:D
 A |: dcd efd cde | fef gef g2 e | dcd efd cde | f3 gec d2 A :: aff ged cde | aff ged cde | 
 aff ged cde |1 fef gec d2 A :|2 fef gec d3 ||  