Compose a musical work incorporating the given motif and adhering to the outlined alphabetical framework.
X:1
L:1/8
M:2/2
K:G
['BA GEDE GABG (3ABA GA Bdef gedB', 'gedB GABG']  
X:1
L:1/8
M:2/2
K:G
 BA | GEDE GABG | (3ABA GA Bdef | gedB GABG | dBAG E2 BA | GEDE GABG | (3ABA GA Bdef | gedB GABG | 
 AGEF G2 :| (3Bcd | edBd edgd | edBd e2 (3def | gedB GABG | dBAG E2 |1 (3Bcd | edBd edgd | 
 edBd e2 (3def | gedB GABG | AGEF G2 :|2 BA | GEDE GABG | (3ABA GA Bdef | gedB GABG | AGEF G2 |]  