would this be foil method? If so how do I solve.

x-1 x-5
=
x+3 x+4

FOIL each side. gather terms, then solve using either factoring or quadratic equation.