Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:Emin
['BcAF G2', 'gefd Beef (Tgf)ga'  
X:1
L:1/8
M:4/4
K:Emin
 d | BcAF G2 GA | B2 Ac Beed | BcAF G2 ef | gefd Beed | BcAF G2 GA | B2 Ac Beed | BcAF G2 ef | 
{a} gef^d e2 || (ef) | (Tgf)ga gdBd | gefd Beef | (Tgf)ga bgaf | gefd Beef | (Tgf)ga gdBd | 
 gefd Beef | (Tgf)ga bgaf | gefd Bee!D.C.! |]  