Compose a piece incorporating the provided motif while adhering to the given musical structure.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
['d2 d2', 'B2 (A4 G2) (AB) c2 B2 A2'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
|:"^Bold and energetically."!f! d4 (B3 c) | d2 d2 G4 | (ABcd) c2 B2 | B4 A4 | (Bcde) d2 d2 | 
 g4 d4 | BAGA B2 A2 |"^Fin." G4 z4 :| !fermata!BABc B2 B2 | (A4 G2) (AB) | c2 B2 A2 G2 | (G4 F4) | 
 e^def e2 f2 | g4 e4 | gfe=d fed^c | d3 e dcB"^D.C."c |]  