Solution (source code)

= Solution

<Rationalizing a denominator> by multiplying by $\sqrt5-1$ gives $2/(\sqrt5+1)=(\sqrt5-1)/2$. Consequently the sum inside the parentheses is $\sqrt5$, and the entire expression is
$$
\boxed{5.}
$$