For constants a,b,c,d, if a(x2+5)+b=c(x2+5)+d and a−c=3 and d−b=9, what is the value of x2+5?
-3
3
6
9