Develop a musical piece that combines the given theme and letter-structured outline.
X:1
L:1/8
M:2/2
K:D
['AFEF D2 DE FABd e2 fd', 'A2 fd edfd']  
X:1
L:1/8
M:2/2
K:D
|: F3 B AFEF | D2 DE FABd | e2 fd efdA | B2 ec dBAG | F2 BF AFEF | D2 DE FABd | e2 fd efdB | 
 ABde d4 :: A2 fd edfd | A2 fd edfd | B2 dA BdAB | dBAF EDB,D | F2 BF AFEF | D2 DE FABd | 
 e2 fd efdB | ABde d4 :|  