Answer:
See detail below.
Step-by-step explanation:
A word of caution before getting to the actual problem: I believe there is an important set of brackets missing in the original post. The expression on the left hand side should be:
(cosxtanx-tanx+2cosx-2)/(tanx+2)
Without the brackets, it is left unclear whether the denominator is just tanx or tanx+2. I recommend to use brackets wherever any doubt could arise.
Now to the actual problem: \we can make the following transformations on the left hand side:

which is shown to be the same as the right hand side, which was to be shown.
It’s actually a. Multiply by the square root of 2
You can verify using the Pythagorean Theorem.
The correct answer would be 3 +/-

In order to solve for this you must first get the equation equal to 0.
x^2 + 6x + 9 - 6 ----> simplify like terms
x^2 + 6x + 3
Now knowing this we can use the coefficients of each one in descending order of power as a, b and c.
a = 1 (because it is the coefficient to x^2)
b = 6 (because it is the coefficient to x)
c = 3 (because it is the end number)
Now we can plug these values into the quadratic equation.


3 +/-

And those would be your two answers.
1/2 * 6 +9 - (18/6)
1/2 * 6 +9- 3
3+9-3
12-3
9
Hope this helps! :)