Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['dFFF BAFB AFFF DEFA BGGG', 'f3 e'  
X:1
L:1/8
M:4/4
K:D
 dFFF BAFB | AFFF DEFA | BGGG edcB | ABGA FABc | dFFF BAFB | AFFF DEFA | BGGG gfed |1 cABc dffe :|2 
 cABc daag || f3 e fg a2 | FAAF ABcd | efed cdef | gAfA eaag | f3 e fg a2 | FAAF ABcd | 
 e^def gbag |1 f3 e daag :|2 f3 e dffe ||  