Algebra Examples

Find the Variables [[x+5,2],[-1,x+2]]=0
I am unable to solve this problem.