The frictional force is dependent on the mass, the coefficient of static friction, and the acceleration due to gravity, but the deceleration of the truck isn't dependent on the mass AS YOU CAN SEE WITH THE EQUATION. If you can't see that through the cancelling of the mass on both sides of the equation, then you can't move on and your answer will be wrong just as it is right now, with your teacher telling you that it is wrong.