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:2/4
K:G
['G2GB d2>d2 e2ec', '', 'GAGE D2G2 G2Bc', 'B2g2 edcB'  
X:1
L:1/16
Q:1/4=120
M:2/4
K:G
"^Part A" D2 | G2GB d2>d2 | e2ec A2Bc | dedB cdcA | BcBG E2>D2 | G2GB d2>d2 | e2ec A2gf | 
 efed e2d2 | G4 g2 ||"^final" G4 g4 |]"^Part B: 1st & 3rd" dc | B2AB GAGE | D2G2 G2Bc | dBge dBGB | 
 dcBc A2dc | B2AB GAGE | D2G2 G2Bc | d2ge dcAF | A2G2G2d2 | gage a2>g2 | fgfe d2ge | dedc BABd | 
 edef gedc | B2AB GAGE | D2G2 G2Bc | d2ge dcAF | A2G2G2 ||"^Part C: 2nd & 4th" G2 | E2A2 ABcd | 
 e2A2 B2AG | E2G2 GABc | d2G2 B2AG | E2A2 AGAB | cBcd e2dc | B2g2 edcB | c2A2A2d2 | e2a2 e2a2 | 
 e2a2 gfed | B2g2 B2g2 | B2g2 gfed | e2a2 a2f2 | g2e2 dedc | B2g2 edcB | c2A2A2 ||  