Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/16
Q:1/4=150
M:4/4
K:Dmix
['.F2.G2 .A2B2 c2d2 ddc2 c2^A/=A/^A =AAA=F AGGF']  
X:1
L:1/16
Q:1/4=150
M:4/4
K:Dmix
 .F2.G2 .A2B2 c2d2 ddc2 | c2^A/=A/^A =AAA=F AGGF FEC2 | GFG^G A=GAB cBc2 ^cdd=c | 
 c^AA=A AGFG AG=FF FEC2 |{G} (3:2:2c2 ^A4 =A2G2 =F{A}GF2 FEF2 | 
 GFG^A (3:2:2=A2G AB (3:2:2c2B c2 cddc | c^AA=A AG=FG AGGF FEDE | =FEDD DC[B,D]C D8 |]  