1+ tana =(3+2√2)( 1- tana)
That is: (2+√2)tana= 1+√2.
tana =( 1+√2)/(2+√2)=( 1+√2)/[√2 *(√2+ 1)]= 1/√2 =√2/2
Just replace it.