Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:6/8
K:G
['G2 A', 'gag fed'  
X:1
L:1/8
M:6/8
K:G
 g/f/ | edc BAB | GEF G2 A | Bdd Bee | Bdd dge | dBG AGE | DEG G2 A | Bed B2 A | BGG G2 :| e/f/ | 
 gag fed | Bdd def | gag fed | Bee e2 f | gag gfe | dBd g2 e f |1 dBG AGE | DEG G2 :|2 gfg eag | 
 fef gfe |]  