Considering the principal values of inverse trigonometric functions, the positive real values of ‘x’ satisfying tan–1x + tan–1(2x) = \(\frac \pi 4\) is
(1) \(\frac{\sqrt 5 - 1}2\)
(2) \(\frac{\sqrt {17} + 3}4\)
(3) \(\frac{\sqrt {17} - 3}4\)
(4) \(\frac{\sqrt 5 + 1}2\)