Question 4: Solving Linear Equations…