Answer: The answer is (x+2)(x-4)(x-4)
Or as a short form you can write it as 
Step-by-step explanation:
Answer is very lengthy but I am 100% sure that's the correct answer
So,
The probability of drawing a yellow marble is

.
Since he replaces the marble after it is drawn out, the probability of drawing another yellow is the same:

.
The probability of drawing a red marble is

.
In order to get the probability of drawing 2 yellow marbles and 1 red marble, given that each marble is replaced after it is drawn out, we must multiply the fractions together.

Because the order of the marbles doesn't matter, we will multiply the probability by 3.
Tan ⊕ 9/-9 = -1 so ⊕ = 3π/4
r = √(9^2+(-9)^2) = 12.73
Answer is (12.73, 3π/4)