(x-3)(x+7)=(x+5)(x+1)

x^2+7x-3x-21=x^2+x+5x+5

x^2+4x-21=x^2+6x+5
Do you know what to do after FOILing and then combining like terms?