Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:2/4
K:G
['BABc d2 ec B2 A2 G2']  
X:1
L:1/8
M:2/4
K:G
 G/G/ | BGBG | A3 A/A/ | cAcA | B3 B/B/ | BABc | d2 ec | B2 A2 | G2 z2 | G2 B>A | AGGD | GABc | 
 B3 G/G/ | BABc | d2 ec | B2 A2 | G2 z |]  