Have i solved this correctly?

x^2+3x-28=0

(x+7)(x-4)=0

x=-7 or 4

Yes, its correct.