Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:G
['', '(3fed cA G2', '(3fed cA'  
X:1
L:1/8
M:4/4
K:G
 f |: gdBd cBcA | (3Bcd BG FDDC | B,CDE FGAB | c2 cB cAFA | (3BAG GF GDB,D | CEED DEFG | 
 AGAB cdeg |1 (3fed cA G2 Bd :|2 (3fed cA G2 B2 || dggf gdBd | ec (3ccc dBGB | Aaag abag | 
 fgag fdcA | (3Bcd Bd cA (3AAA | BG (3GGG AFDE | FGAB cdeg |1 (3fed cA GABc :|2 (3fed cA G4 ||  