Block-pulley system with friction on surface

A block on a surface with friction is connected via a string and pulley to a hanging mass, and the question asks for the system's acceleration or tension.

jee-main 2022 Q3 View
A block of mass 40 kg slides over a surface, when a mass of 4 kg is suspended through an inextensible massless string passing over frictionless pulley as shown below. The coefficient of kinetic friction between the surface and block is 0.02. The acceleration of block is: (Given $g = 10 \mathrm{~m~s}^{-2}$.)
(1) $\frac{8}{11} \mathrm{~m~s}^{-2}$
(2) $1 \mathrm{~m~s}^{-2}$
(3) $\frac{1}{5} \mathrm{~m~s}^{-2}$
(4) $\frac{4}{5} \mathrm{~m~s}^{-2}$
jee-main 2024 Q4 View
Consider a block and trolley system as shown in figure. If the coefficient of kinetic friction between the trolley and the surface is 0.04, the acceleration of the system in $\mathrm { m } \mathrm { s } ^ { - 2 }$ is: (Consider that the string is massless and unstretchable and the pulley is also massless and frictionless):
(1) 3
(2) 4
(3) 2
(4) 1.2