A particle $P$ of mass $0.6\text{ kg}$ moves upwards along a line of greatest slope of a plane inclined at $18°$ to the horizontal. The deceleration of $p$ is 4 ms−2
The first part asks us to find the frictional and normal components of the force excreted on $P$ by the plane. Then they ask us to find the coefficient of friction between $P$ and the plane.
Now I understand that this has to be done by $f_{net} = ma$, but the solution at the back only uses frictional force and the component of the weight down the slope. I don't understand why there isn't a force acting up the slope. Say this force is $ K\text{ N}$, then shouldn't the $f_{net}$ equation be $$K- mg \sin18- \text{frictional force}= 0.6(-4)$$
I think you are mixing up speed and acceleration. The ball is moving up and thats why friction should point down the slope, but if there were a force acting up the slope then it would mean that $P$ is actively using energy to climb up. For large enough $K$, $P$ would be accelerating upwards, as if you were pushing it.
I believe the situation is instead more like you gave the ball an initial velocity and this is the kinematics of the ball experiencing only friction (and the effect of its weight) along the slope, causing a deceleration. Hopefully this convinces you that $K=0$, and $f_{net} = ma$ means
$$-0.6 g \sin 18º - \text{frictional force} = 0.6 \times (-4) $$