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
['F2 A AFA', 'd2 B AFD DFA Bcd']  
X:1
L:1/8
M:9/8
K:D
 F2 A AFA AFA | G2 B BGB BGB | F2 A AFA ABc | d2 B AFD (E2{FE} D) :: d2 B AFD DFA | Bcd efg f2 e | 
 d2 B AFD DFA | Bcd AFD (E2{fe} D) :|  