Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
['G/A/B/c/ dB gBdB', 'g>age a>baf'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
 G/A/B/c/ dB gBdB | gBdB aA-AB | G/A/B/c/ dB gBdB | cAdc BG G2 :: g>age a>baf | g>age b B2 f | 
 g>age a>baf | g d2 c BG G2 :|  