Please help me solve this.

the answer is x is equals to 2 or x is equal to -5 in the equation x square + 3x - 10 is equals to zero where after solving you get x square + 5 x - 2 x - 10 is equals to zero you factorise you get x (x + 5) - 2 (x + 5) is equal to zero then after solving x is equals to 2 or -5