As P moves along the rough incline, the friction force will always oppose the motion of the block. As you see above, the friction force points up the incline as the velocity of the block points down ...
Your first decision on this problem is to choose your observer. Since an observer on the tube will have the simplest view of the motion of the particle P, attaching the observer to the tube is ...