Utilizing the provided musical theme and letter-based structure, compose a piece of music.
X:1
L:1/8
M:3/4
K:Gmin
['d>d c2 d2 B>A B2 G2 gg', 'f4 d>d g2 f2 ed ef d2-']  
X:1
L:1/8
M:3/4
K:Gmin
 d>d c2 d2 | B>A B2 G2 | gg ab ag | ^f2 f4 :: d>d g2 f2 | ed ef d2- | dc c2 e2 | dc B2 d2 | 
 cB A3 G | G2 G4 :|  