Formulate a musical piece by utilizing the specified motif and alphabet-based structure.
X:1
L:1/8
M:3/4
K:G
['B2 BA Bd c2 ce fg', 'fg d2 dg fg c2']  
X:1
L:1/8
M:3/4
K:G
|: D2 | B2 BA Bd | c2 ce fg | d2 gf ga | d2 de dc | B2 BA Bd | c2 ce fg | dB Gc AF |1 G3 z :|2 
 G3 |: ABd | e2 eg fg | d2 dg fg | c2 cg fg | B2 BA Bd | e2 eg fg | d2 dg fg | c2 cA FA |1 G3 :|2 
 G3 z ||  