Solving problem 6.3 from the MIT course “18.06SC – Linear Algebra”.