You don't need to use mass for the first part, but for the second. You divide the force by the mass to get its acceleration and then you use one of the thee kinematic equations to find v final using the distance travelled and the acceleration.