Polynomial/f(-1) is 2,f(1) is 0,f(3) is 5/System/Exercise/Solution

The conditions lead to the system of linear equations

yields

and yields

hence

and so

The looked-for polynomial is therefore