Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
['EG ABAG E2 D2 EGAB c2 BA', '.D2 EG ABAG E2 D2 EGAB c2', 'BA GABc', 'D2 EG ABAG E2 D2 EGAB c2']  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
"^Moderate." EG | ABAG E2 D2 | EGAB c2 BA | GABG A2 GE | D4- .D2 || EG | ABAG E2 D2 | EGAB c2 Bc | 
 dedA B2 A2 | G6 |] | BA | GABc d2 Bd | e2 ce d2 BA | GABc A2 GE | D4- D2 || EG | ABAG E2 D2 | 
 EGAB c2 Bc | dedA B2 A2 | G6 |]  