Linear Equation - My code