Using energy balance energy at top of ramp + non-conservative work - work of friction = energy at bottom of the ramp
mgh + 1/2 mv02 - WF = 1/2mv2
Remember that h = dsinθ
mgsinθ - Ffd = 1/2 mv2
Remember Ff = FNμ = mgμcosθ sub in and solve for v.
Using forces: Fnet = ma on an incline
ma = mg(sinθ - mgμcosθ) so a = g(sinθ - μcosθ)
Now an equation of motion like
2ad = v2 - v02 can solve for v.