Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:2/4
K:Gmix
['B/A/B/c/ d3 d ^cA=cB G2 A/B/A/G/ FE', 'AB GG/F/ GA BG FE FG AF/D/', 'z G'  
X:1
L:1/8
M:2/4
K:Gmix
 B/A/B/c/ | d3 d | ^cA=cB | G2 A/B/A/G/ | FE FG |1 AF/D/ GA/B/ | GD :|2 A/F/D/F/ GA/B/ |: 
 BD c/d/c/B/ | Ac/B/ AB | GG/F/ GA | BG FE | FG AF/D/ |1 GA/B/ GD :|2 GA/B/ G2 || c/d/c/B/ Gc/B/ | 
 AG AB | D2 z G | FE DC | z G EF | GA/B/ D2 | z G FE | DCzG | EF GA/B/ | GD ||  