Start by subtracting 5 from each side to get
x²-2x-4=0
It is now in the standard form
ax²+bx+c=0
It doesn't factor 'cause the factors of 4 are 1,-4,-1,4 & 2,-2 and none of them add up to -2. The quadratic formula is indicated.
x=(-b+sqet(b²-4ac))/(2a)