Can someone check my answer please! I'm not sure this is right

x(squared)+7x+10=0
(x+r)(x+s)
=x(squared)+sx+rx+rs
=x(squared)+(r+s)x+rs
x(squared)+(r+s)x+rs=x(squared)+7x+10
r+s=7
rs=10
(2)(5)=10 and 3+4=7
x(squared)+7x+10=(x+5)(x+2)

yes, you are right,

For these kind of problems why don't you just expand your answer using FOIL to check if you are right?