Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:2/2
K:G
['B2 AF G2 DG G2 (AG) FGAc', 'Bdgd g2 (ga) bgeg fefg afdf |1'  
X:1
L:1/8
M:2/2
K:G
|: B2 AF G2 DG | G2 (AG) FGAc | BGAF G2 (ef) | gfed Bdgd :: g2 (ga) bgeg | fefg afdf |1 
 gfga b2 (ag) | gfed Bdef :|2 g2 bg f2 af | gfed Bdgd |]  