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:4/4
K:C
['BAG FED', 'A2 F']  
X:1
L:1/8
M:4/4
K:C
[M:6/8][K:D] ac a e eg f ue e[Q:1/8=160].d | BAG FED | FAF Fd^c | BAG FED | EFE E2 d | BAG FED | 
 FAF FEF | AB^c d2 F | EFE E2 :| F | A2 F A2 F | FAF A2 d | B2 A B2 G | GAG B2 ^c | d2 e f2 e | 
 d2 B A2 F | AB^c d2 F | EFE E2 :|  