Consider $\left(\sqrt{5}+\sqrt{3}\right)\left(\sqrt{5}-\sqrt{3}\right)$. Multiplication can be transformed into difference of squares using the rule: $\left(a-b\right)\left(a+b\right)=a^{2}-b^{2}$.
Consider $\left(\sqrt{5}-\sqrt{3}\right)\left(\sqrt{5}+\sqrt{3}\right)$. Multiplication can be transformed into difference of squares using the rule: $\left(a-b\right)\left(a+b\right)=a^{2}-b^{2}$.
Since $\frac{\left(1+\sqrt{2}\right)\left(\sqrt{5}-\sqrt{3}\right)}{2}$ and $\frac{\left(1-\sqrt{2}\right)\left(\sqrt{5}+\sqrt{3}\right)}{2}$ have the same denominator, add them by adding their numerators.