Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:2/4
K:G
['BGcA dBeg', 'G2 af ge fdeA af B^c d2'  
X:1
L:1/8
M:2/4
K:G
 BGcA | dBeg | dB GB | dB A2 | BGcA | dBeg | bgeg | dB G2 :: af ge | fdeA | af B^c | d2 d2 | afge | 
 fdeA | afge | B^c d2 :|  