Hi I am in the middle of this question and im not sure if a. im right or b. where to go from here.

Q. Evaluate:

between the limits of 3 and 0

So far I have:

then

when S = 3 then P = 5

and

when S = 0 then P = 4

Am I right so far, if so what is the next step?

thanks