Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/16
M:2/4
K:G
['B>GTG2 D>GTG2 B>Gd>B g>dB>d', 'B>dTd2 B>dTd2'  
X:1
L:1/16
M:2/4
K:G
 d>c | B>GTG2 D>GTG2 | B>Gd>B g>dB>d | c>ATA2 F>ATA2 | c>ed>c B>cA>c | B>GTG2 D>GTG2 | 
 B>Gd>B g>dB>d | (ce).d.c (Bc).A.B | G2B2G2 :: d>c | B>dTd2 B>dTd2 | Bdef gdcB | c>eTe2 c>eTe2 | 
 ceag fedc | B>dTd2 B>dTd2 | BGAB cdef | gdec BcAB | G2B2G2 :|  