Formulate a musical piece by utilizing the specified motif and alphabet-based structure.
X:1
L:1/8
M:4/4
K:Gmin
['d4 d^cde d2 c2 B2 A2 B3']  
X:1
L:1/8
M:4/4
K:Gmin
 d4 d^cde | d2 c2 B2 A2 | B3 A G2 ^F2 | G6 D2 | G^FGA BABc | d^cd^f gfga | b2 bg a2 a^f |1 
 de d^c d4 :|2 gag^f g4 |]  