tan(a-π/4)=-tan(π/4-a)=-2tana=tan(a-π/4+π/4)=(tan(a-π/4)+tan(π/4))/(1-tan(a-π/4)tan(π/4))=-1/3cos2a=(1-(tana)^2)/(1+(tana)^2)=4/5