Sum of eigen values = Trace of the matrix
-1+7 = 1+a
6 = 1 + a
a= 5
------------------------------------------------------------------------
product of eigen values = determinent of the matrix
-1 x 7 = a-4b
-7 = a-4b
-7 = 5-4b
4b = 5+7
4b = 12
b= 3
hope my answer helps u a lot