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
['', 'DE GA', 'g>f ea g>e dB AG A>G AB'  
X:1
L:1/8
M:4/4
K:G
 g>e |: d2 B>A Gd ED | DE GA G2- G3/2G/4B/ | cG cd B2 AG | A>G AB A2 g>e | d2 B>c A<G GG/E/ | 
 D2 D3/2E/4F/ GD Gc | BD GB A2 G3/2E/4D/ |1 DE GA G2 g>e :|2 DE GA G2 D3/2E/4F/ || GD GB AD Ac | 
 BG A/B/d g2 g>f | ea g>e dB AG | A>G AB A2 AB | c2 BA/G/ E<G G>E | D2 D3/2E/4F/ GD Gc | 
 BD GB A2 G3/2E/4D/ | DE GA G2 D3/2E/4F/GD GB AD Ac | BG A/B/d g2 g>f | ea g>e dB AG | 
 A>G AB A2 de/f/ | g2 f>e d<e d>B | cd BG E2 Ec | BD GB A2 G3/2E/4D/ | DE GA G2 ||  