Compose a piece of music that follows both the given musical theme and the letter-based structure provided.
X:1
L:1/8
M:4/4
K:D
['D>F A>F G2 F>G E3 F G2', 'dA aA fA dA G2 F>E D>F']  
X:1
L:1/8
M:4/4
K:D
 F2 F>E D>F A>F | G2 F>G E3 F | G2 G>A (3Bcd e>d | c>e g>e c>A G>E | F>G E>F D>F A>F | 
 G2 F>G E3 F | G2 G>A (3Bcd e>d | c>A G>E D2- D2 :: dA aA fA dA | G2 F>E D>F A>d | 
 B>e e>d B>e e>d | (3Bcd e>f g2 f>e | dA aA fA dA | G2 F>E D>F A>d | B>e e>B B>e g>e | 
 c>A G>E D2- D2 ||  