Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:2/4
K:G
['GB/B/ Bd/d/ dg gf/g/', 'Ad dc/B/ Aa af gf ge'  
X:1
L:1/8
M:2/4
K:G
|: D | GB/B/ Bd/d/ | dg gf/g/ | ag ec | ed d/c/B/A/ | GB/B/ Bd/d/ | dg gf/g/ | ed dF | AG G :: 
[K:D] B | Ad dc/B/ | Aa af | gf ge | f/g/f/e/ dB/B/ | Ad dc/B/ | Aa af | gf ge | d2 d :|  