First find the determinant of each matrix individually.
For the first matrix:
For the second matrix:
Now substitute these expressions for the determinants back into the equation:
This is a quadratic equation which can be solved by factorising:
Either , in which case , or , in which case .
Therefore, the solution is .