Formulate a musical piece by utilizing the specified motif and alphabet-based structure.
X:1
L:1/8
M:2/2
K:G
['DEFD GFGA BGBd', 'edef gfed']  
X:1
L:1/8
M:2/2
K:G
 A2 | DEFD GFGA | BGBd cBAG | F2 E2 DEFG | AFDF E4 | DEFD GFGA | BGBd efge | dcBA GFGA | 
 B2 G2 G2 :: d2 | gfga b2 g2 | fefg a2 f2 | edef gfed | B2 e2 e2 g2 | dBGB d2 d2 | edef gfed | 
 cBAG EFGA | B2 G2 G2 :|  