Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
Q:1/2=60
M:4/4
K:Dmin
['D>FA>c A2 F>E D>FE>F', 'A>F D>FE>F D2'  
X:1
L:1/8
Q:1/2=60
M:4/4
K:Dmin
 D>FA>c A2 F>E | D>FE>F D>FE>F | D>FA>c A2 F>E | D>FE>F |1 D2 [A,A]2 :|2 D4 ||[K:D] G>Bd>B G>Bd>B | 
 G>AB>c d2 c>B | A2 A>B A2 A>F | D>FE>F D2 [A,A]2 |]  