The only force opposing the block's sliding as it slows down is friction with magnitude f . By Newton's second law, the net force in this direction is
∑ F = -f = ma = (4.00 kg) a
Assuming constant acceleration a , the acceleration applied by friction is such that
(1.5 m/s)² - (11 m/s)² = 2a (4.00 m)
Solve for the acceleration :
a = ((1.5 m/s)² - (11 m/s)²) / (8.00 m) ≈ -14.8 m/s²
Then the frictional force exerted a magnitude of
-f = (4.00 kg) (-14.8 m/s²)
f ≈ 59.4 N
and was directed opposite the block's motion.