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:D
['(3ABA FA DAFA', 'f2 fg fedc Bggf g2 gf edcB']  
X:1
L:1/8
M:4/4
K:D
 e | fedf edcB | (3ABA FA DAFA | B2 GB EBGB | (3ABA FA DAFA | fedf edcB | (3ABA FA DAFA | 
 B2 ed cABc | eddc d3 :| e | f2 fg fedc | Bggf g2 gf | edcB ABcd | baag a2 ag | f2 fg fedc | 
 Bggf g2 gf | edcB ABcd | eddc d3 :|  