Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:D
['(3FED FA dDcd', 'BcdB AFEF'  
X:1
L:1/8
M:4/4
K:D
 A,B,DE DD DE | (3FED FA dDcd | (^AB)BB D=AFD | DEFE DB,B,D | A,B,DE DDDE | (3FED FA dDcd | 
 B2 (3BcB BAFD |1 DEFE DDDB, :|2 DEFE DDFA || d2 (3ddc dfed | cBcd ccBA | (^AB)BB BcdB | 
 AFEF DB,B,A | DdDd Dfed | cBcd ccBA | B2 BA BcdB | AFEF DEFA | d2 (3ddc dfed | cBcd ccBA | 
 (^AB)B=A BcdB | AFEF DB,B,D | A,B,DE D2 DE | (3FED FA dDcd | [D^A]BBB [DB]=AFD | DEFE D4 ||  