Formulate a musical piece by utilizing the specified motif and alphabet-based structure.
X:1
L:1/8
Q:1/2=100
M:4/4
K:Dmin
['e2 f3 e d2 ^c2 d2', 'A2 F3 E F2 G2 A2']  
X:1
L:1/8
Q:1/2=100
M:4/4
K:Dmin
 e2 | f3 e d2 ^c2 | d2 (ef) gagf | e6 e2 | f3 e d2 ^c2 | d2 ef gfed | d6 :: A2 | F3 E F2 G2 | 
 A2 GF AB c2 | E6 A2 | F3 E F2 G2 | A2 (GF) (GF)(ED) | D6 :|  