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