Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:2/4
K:G
['dd Bd ed B2', 'G3 z G>G Bd g4 e>e ge'  
X:1
L:1/8
M:2/4
K:G
 d | dd Bd | ed B2 | B A3 | B A2 z/ d/ | dd Bd | ed B2 | A2 BA | G3 :: z | G>G Bd | g4 | e>e ge | 
 d3 B/c/ | dd Bd | ed B4 | AB/c/ BA/A/ | G3 :|  