Write a method that solves the following 2 × 2 system of linear equations:

The method header is
public static double[] linearEquation(double[][] a, double[] b)
The method returns null if a00a11 - a01a10 is 0. Write a test program that prompts the user to enter a00, a01, a10, a11, b0, and b1, and displays the result. If a00a11 - a01a10 is 0, report that “The equation has no solution.” A sample run is similar to Programming Exercise.
A linear equation can be solved using Cramer’s rule given in Exercise. Write a program that prompts the user to enter a, b, c, d, e, and f and displays the result. If ad - bc is 0, report that “The equation has no solution.”

You can use Cramer’s rule to solve the following 2 × 2 system of linear equation:

Write a program that solves the following equation and displays the value for x and y:
3.4x + 50.2y = 44.5
2.1x + .55y = 5.9
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.