we are given
x^2-4x-5
we can use formula
x^2-(a+b)x+ab=(x-a)(x-b)
so, we have
a+b=4
ab=-5
now, we can solve for a and b
and we get
a=5, b=-1
now, we can plug it in formula
x^2-4x-5=(x-5)(x+1) ............Answer
P(both red)=(10/17)(9/16)
P(both blue)=(7/17)(6/16)
P(both same)= sum of above 2 = (90+42)/(16*17)=132/(16*17)=<span>0.485
coz both same means both blue or both red
</span>