Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:4/4
K:D
['D2 (3(FED) FAA(c de)fd gbe(g fe)df', 'GE)EF DFA(F EG)BG FAd(f e2) fg afb(f'  
X:1
L:1/8
M:4/4
K:D
|: D2 (3(FED) FAA(c | de)fd gbe(g | fe)df ecA(F | GB)AG EDCE | D2 (3(FED) FAA(c | de)fd gbe(g | 
 fe)df edc(e |1 dB)AF D(A,G,A,) :|2 dBAF D3 g |: fedf ecAF | GBA(F GE)EF | DFA(F EG)BG | 
 FAd(f e2) fg | afb(f gf)ec | def(d AG)FA | (3GGG (BG) (3FFF (AF) |1 EDCE D3 g :|2 
 EDCE D(A,G,A,) ||"^Last time" EDCE D2 ||  