Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/4
M:2/4
K:G
['B/d/B/G/ B/d/B/G/ (.B .d)', 'z d d/d/ g z'  
X:1
L:1/4
M:2/4
K:G
 B/d/B/G/ | B/d/B/G/ | (.B .d) | G z :: d d/d/ |"^\^" g z | d d/d/ |"^\^" g z | d/c/ B | c/B/ A | 
 (.G .B) |1 d z :|2 G z |]  