Develop a musical piece that combines the given theme and letter-structured outline.
X:1
L:1/8
M:4/4
K:D
['f>e d>cd>B A2 G>F E>EF>G A2 (3ABc', 'f2 f2']  
X:1
L:1/8
M:4/4
K:D
 f>e | d>cd>B A2 G>F | E>EF>G A2 (3ABc | d>BA>B d>de>c | d6 :| d>e | f2 f2 f2 g>f | g>f e2 e4 | 
 d2 d2 d2 e>d | c>B A2 A2 (3ABc | (3ded(3cBA B>c d2 | (3ded(3cBA B>cd>f | e2 (3efg a2 (3ABc | 
 d2 f2 d2 ||  