Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:4/4
K:G
['G2 BG', 'E2 DEBE DEGA']  
X:1
L:1/8
M:4/4
K:G
|: G2 BG DGBG | EGef gdBA | G2 BG DGBA | GEGA BdBA | G2 BG DGBG | EGef gdBA | faef d2 ed |1 
 BAGA B2 BA :|2 BAGA BG (3Bcd || eE E2 DEBE | DEGA B2 BA | GE E2 DEBE | DEGA BG (3Bcd | 
 eE E2 DEBE | DEGA B2 BA | GE E2 DEBE | DEGA B2 BA ||  