Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
M:4/4
K:G
['(3GAG (3FGF E2 AG', 'E2 ED'  
X:1
L:1/8
M:4/4
K:G
|: BA | (3GAG (3FGF E2 AG | (3GAG (3FGF E2 AG | (3FGF (3EFE D2 AG | (3FGF (3EFE D2 Bd | edce dcBd | 
 cBAc B2 EF | GFGB AFDF |1 E2 ED E2 :|2 E2 ED E2 Bd || e2 dc BG E2 | e2 dc B2 Bc | dcdB AF D2 | 
 dcdB A2 Bd | edce dcBd | cBAc B2 EF | GFGB AFDF |1 E2 ED E2 Bd :|2 E2 ED E2 ||  