Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:2/2
K:G
['d2 BG DGBd', 'g2 bg'  
X:1
L:1/8
M:2/2
K:G
 d2 BG DGBd | egdg eage | d2 BG DGBd | e/g/edc BGBc | d2 BG DGBd | egdg eage | d2 BG DGBd | 
 e/g/edc BGBd || g2 bg dgbg | g/a/gbg eaaf | g2 bg efge | dega bggf | g2 bg dgbg | g/a/gbg agab | 
 g/a/g f/g/f e/f/e dB | dega bage ||  