The net force on the block is mgsinθ - μmgcoθ - FT = ma (FT is the force of tension of the rope) We have picked down the incline as positive. The parallel component of weight - μ x perpendicular component of weight is typical from the incline geometry.
The net torque on the cylinder is FTR = Iα ( The rotational analog of Newton's Second Law) Substituting 1/2 MR2 for I and a/R for α
FTR = 1/2 MR2(a/R) or FT = 1/2 Ma
Combine the equations by eliminating FT and solve for a
mgsinθ - μmgcosθ - 1/2 Ma = ma
a =( mgsinθ - μmgcosθ )/(1/2M +m)
Now that a is known (just plug in data), you can calculate v from
2ad = v2 - v02 and solve for v.