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
['ABd efg', '=c2 e dcB ABc', 'f2 a a2 b agf afe dBd', '=c2 e dcB ABc']  
X:1
L:1/8
M:9/8
K:D
 A2 B ABd efg | gfe dBd BAF | EFA ABd efg | f3 e2 d d3 :| =c2 e dcB ABc | dfe dBd BAF | 
 =c2 e dcB ABc | d2 f e2 d d3 | =c2 e dcB ABc | dfe dBd BAF | EFA ABd efg | f3 e2 d d3 || 
 f2 a a2 b agf | afe dBd BAF | fab a2 f agf | efg fed d2 e | f2 a a2 b agf | afe dBd BAF | 
 EFA ABd efg | f3 e2 d d3 || =c2 e dcB ABc | dfe dBd BAF | =c2 e dcB ABc | d2 f e2 d d3 | 
 =c2 e dcB ABc | dfe dBd BAF | EFA ABd efg | f3 e2 d d3 ||  