Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/16
Q:1/4=120
M:3/4
K:G
['G2D2 G2zA (BcB).A', '(gfe).d (edc).B (dcB).A (G4 BA).G2 A2E2 G2D2', 'd (gfg).d (e^de).B (dcB).A (G4 BA).G2 A2>E2'  
X:1
L:1/16
Q:1/4=120
M:3/4
K:G
"^Moderate" D2 | G2D2 G2zA (BcB).A | (G4 BA).G2 A2>E2 | G2D2 G2zA (BcB).A | 
 B4 d2e2 !fermata!e2>d2 || (gfe).d (edc).B (dcB).A | (G4 BA).G2 A2E2 | G2D2 G2A2 (Bed).c | 
 B4 A4 !fermata!G2 z d || (gfg).d (e^de).B (dcB).A | (G4 BA).G2 A2>E2 | G2D2 G2A2 (Bed).c | 
 B8{B} A2>G2 | G8 z2 |]  