Let's solve this step-by-step:
- We need to expand the term $$(\sqrt{42}-2)^2$$ first. This is in the form $$(a-b)^2 = a^2 - 2ab + b^2$$.
- Here, $$a = \sqrt{42}$$ and $$b = 2$$.
- So, $$(\sqrt{42})^2 - 2(\sqrt{42})(2) + 2^2$$.
- $$(\sqrt{42})^2 = 42$$.
- $$2(\sqrt{42})(2) = 4\sqrt{42}$$.
- $$2^2 = 4$$.
- So, $$(\sqrt{42}-2)^2 = 42 - 4\sqrt{42} + 4$$.
- Combine the constant terms: $$42 + 4 = 46$$.
- So, $$(\sqrt{42}-2)^2 = 46 - 4\sqrt{42}$$.
- Now, substitute this back into the original expression: $$(46 - 4\sqrt{42}) + 4\sqrt{42}$$.
- The $$-4\sqrt{42}$$ and $$+4\sqrt{42}$$ cancel each other out.
- This leaves us with 46.
Ответ: 46