Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:Gdor
['G3 A BGAF D2 Bd cABc', 'c/B/A B2 fB gBeg fcAF cFAc B2'  
X:1
L:1/8
M:4/4
K:Gdor
 G3 A BGAF | D2 Bd cABc | dGGD FGAc |[M:6/4] B2 A2 dABc B2 AF |[M:4/4] G3 A BGAF | D2 Bd cABc | 
 dgge fedc |1 d2 Bd cAFD :|2 d2 Bd cAFA |: B2 fB gBeg | fcAF cFAc | BBGB dGBd | _edcB AB c/B/A | 
 B2 fB gBeg | fcAF cFAc | B2 GB dccB |1 cece d3 A :|2 cece d2 eg |[M:6/4] fedc d2 Bd cAFD ||  