Given two simultaneous linear equations in this form: a*x + b*y = c, d*x + e*y = f, devise a function that returns the values of x and y as (x, y). The numbers a through f are non-zero integers. If there is not a unique solution or if there is no solution at all, return False. Input is given as: [[a, b, c], [d, e, f]]. Solutions, if they exist, will be integers.
sle([[3, 4, 19], [2, -1, 9]]) ➞ (5, 1)
sle([[3, 2, -2], [2, 5, -5]]) ➞ (0, -1)
sle([[4, -3, 18], [8, -6, 36]]) ➞ False
sle([[2, 3, 13], [5, -1, 7]]) ➞ (2, 3)
Can you do this without using numpy?