Assume the object starts from rest
Potential energy (PE) at top of the slope = m.g.L.sin(30)
where m is the mass of the object (=5 kg)
g is the acceleration due to gravity
L is the length of slope (=3m)
Kinetic energy (KE) at bottom of slope = (1/2)m.v^2
where v is the velocity at bottom of slope
Work done against friction Wf = Ff.L
where Ff is the frictional force (=20N)
By conservation of energy
PE = KE + Wf
i.e. m.g.L.sin(30) = (1/2)m.v^2 + Ff.L