Develop a musical piece employing the provided motif and an alphabet-based structure.
X:1
L:1/8
M:9/8
K:D
['d2 B AFA', 'F2 A AFA AFA', 'd2 B AFA AFA d2']  
X:1
L:1/8
M:9/8
K:D
 d2 B AFA AFA | d2 d def g2 e | d2 B AFA FAF | d2 D DEF E2 D :: F2 A AFA AFA | G2 B BGB Bcd | 
 F2 A AFA AFA | d2 D DEF E2 D :: d2 B AFA AFA | d2 d def g2 e | d2 B AFA AFA | d2 D DEF E2 D :|  