Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:G
['BGGF DG', 'fgag fdcB A=F F2 DG'  
X:1
L:1/8
M:4/4
K:G
|: Bc | (3d^cd =cA BGGF | DG (3GFG FGAB | dg (3gfg fgag | fdcB A=F F2 | dBcA BGGF | DG (3GEG FGAB | 
 dg g2 fgag | fdcA G2 :| Bc | dg (3gfg fgag | fdcB A=F F2 | DG G2 FGAc | Bcde fgaf | dg g2 fgag | 
 fdcB A=F F2 | DG (3GFG FGAd | (3Bcd cA G2 :|  