Linear Algebra Examples

Simplify the Matrix [[x,1,1],[3,-4,4],[-1,-5,2]]=5 , x
I am unable to solve this problem.