We need to express density in terms of force (F), velocity (V), and time (T).
Dimensions: [F]=MLT−2, [V]=LT−1, [T]=T
From these:
[L]=[V][T]=LT−1⋅T=L
[M]=[L][T]−2[F]=[V][T]⋅[T]−2[F]=[V][T]−1[F]=[F][V]−1[T]
Density =[M][L]−3:
[ρ]=[F][V]−1[T]⋅([V][T])−3=[F][V]−1[T]⋅[V]−3[T]−3
=[F][V]−4[T]−2
The dimensional formula of density is FV−4T−2.