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:6/8
K:D
['A .A(fe) d2 c Bcd', '(d2 e f2) a']  
X:1
L:1/8
M:6/8
K:D
 A | .A(fe) d2 c | Bcd (A2 G) | FAd dcd | (^d2 e) e2 A | .A(fe) d2 c | Bcd A2 G | (FA)d (ce)g | 
 f2 d d2 :| e | (edc) (cBA) | (d2 e f2) a | agf (gBe) | (d3 c2) e | (ed).c (cB).A | (d2 e f2) a | 
 (agf) (gBc) | e3 d2 A | f2 d{e} dcd | g2 e e2 e | (efe) c2 A | (f3 d2) A | f2 d{e} dcd | 
 (g2 e) e2 e | (cde) (ABc) | (d2 f d2) ||  