Exercise 5.3.4 solution

\( \tan\left(x+\frac{\pi}{4}\right)=\dfrac{\tan x+\tan\frac{\pi}{4}}{\tan x-\tan\frac{\pi}{4}}=\dfrac{\tan x+1}{\tan x-1}\)