Craft a composition using the given motif while maintaining the musical form outlined by alphabet characters.
X:1
L:1/8
M:4/4
K:D
['(g f)AeA BGG(g f)AeA aAA(g f)AeA BGGg', '(fd)ad (g=c)ge']  
X:1
L:1/8
M:4/4
K:D
 (g | f)AeA BGG(g | f)AeA aAA(g | f)AeA BGGg | gaef d2 d :| g | (fd)ad (g=c)ge | (fd)ad (bd)ad | 
 (fd)ad (g=c)ge | faef d2 (dg) | (fd)ad (g=c)ge | (fd)ad (bd)ad | (bd)ad (g=c)ge | faef d2 d ||  