Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:3/4
K:Dmin
['A2 ^cd ec f2 fa fd ^c2', 'e2 fe'  
X:1
L:1/8
M:3/4
K:Dmin
 A2 ^cd ec | f2 fa fd | ^c2 cd eg | !wedge!f2 !tenuto!d4 :: e2 fe fg | a2 gb a2 | e2 fe fd | 
 g2 f2 e2 | A2 ^cd ec | f2 fa fd | ^c2 cd eg | !wedge!f2 !tenuto!d4 :|  