how to find and calculate k and g?

Answer:
k = -3, g = 5
Step-by-step explanation:
I think the question is meant to be
The INVERSE of the left matrix is the right matrix.
Since the inverse of a 2 x 2 matrix P
a b
c d
is
(1/det(P)) times
d -b
-c a
we have
4 -5
1 -2
changed to
-2 5
-1 4
divided by the determinant of the left matrix
det() = (4*(-2) -1(-5)) = -8 - (-5) = -3 = k
g = 5 (the top right element of the inverted matrix)