Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/4
M:3/2
K:G
['B3/2 c/ d B', 'd e'  
X:1
L:1/4
M:3/2
K:G
 B3/2 c/ d B TA G | F A2 c B A | B3/2 c/ d B TA23/2 G | D G2 B A G :: B/>c/ d e f g | a A2 c TB A | 
 B3/2 c/ d e Tf3/2 e/4f/4 | g3/2 a/ g B A G :|  