Develop a musical piece employing the provided motif and an alphabet-based structure.
X:1
L:1/8
M:6/8
K:D
['A AFA Agf ede fdB AFA', 'd3 a afa afa bgb bgb afa']  
X:1
L:1/8
M:6/8
K:D
 A | AFA Agf | ede fdB | AFA AGF | E2 E E2 A | AFA Agf | ede fdB | AFA faf | d2 d d3 :: a | 
 afa afa | bgb bgb | afa agf | e2 e efg | a3 f3 | ede fdB | AFA faf | d2 d d2 :|  