Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:G
['gage gagf edBc d4', '[GB]4 G2 BG AGBG AGEF G4 e3'  
X:1
L:1/8
M:4/4
K:G
|: gage gagf | edBc d4 | e3 g adBc | [df]3 [fd] [df]4 | gage gagf | edBc d4 | BAGB AGED | 
 [GB]3 [GB] [GB]4 :: G2 BG AGBG | AGEF G4 | e3 g edBc | d3 d d4 | gage gagf | edBc d4 | BAGB AGFD | 
 [GB]3 [GB] [GB]4 :|  