Develop a musical composition centered around the provided motif while maintaining the appropriate form.
X:1
L:1/8
Q:1/8=150
M:2/2
K:D
['', 'ed c<AAB cAAF G2 GF GABd cA', 'gfed cdef'  
X:1
L:1/8
Q:1/8=150
M:2/2
K:D
"^A modal" ed |: c<AAB cAAF | G2 GF GABd | cA A2 cAAg | (3fga fd gfed :| 
[K:G]"^A dorian" cdef gage | dBGB dedB | cdef gage | (3fga fd gfed | cdef gage | dBGB dgfg | 
 (3aba fa gfed | cdef gfed ||"^last time" A8 ||  