First, you need to draw a free body diagram. There will be an x component (governing horizontal acceleration) and a y component (used to determine the friction force)
in x: Fx - Ff = max (Fx = Fcosθ and Ff = μFN)
in y: FN = FW - Fy = mg - Fsinθ
Therefore, ax = 1/m (Fcosθ - μ(mg - Fsinθ))
Because it is starting from rest, you know that d = 1/2 axt2
All units are in MKS, so you can solve by plugging into the equations.