See my comments on your other question about spline interpolation. As I explained there, the matrices and systems of equations that occur in constructing splines are special, because they are banded. So, you can solve them using elementary elimination methods. You don't need to use general-purpose methods like LU decomposition.
I suspect that your teacher is asking you to solve these problems by hand so that you see this banded structure and you understand how much it simplifies the problem. If you do polynomial interpolation (as opposed to spline interpolation), then you again have to solve linear systems, but they are not banded. Doing a few examples by hand will help you appreciate the difference. The brute-force approach using Matlab hides all this.