HOW DO I DO DIMENSIONAL ANALYSIS

Base Quantities and Base Unit s (you need these to figure out which unit to use in the questions)
Length - meter (m)
Mass - kilogram (kg)
Time - second (s)
Electric - Current ampere (A)
Temperature - kelvin (K)
Amount of Substance - mole (mol)
Luminous Intensity - candela (cd)
1. You already have the equation for density ⇒ m/v.
mass= kg
v= length×length×length⇒ m³
so your equation is kg/m³
It's the same procedure for the rest.
I hope that actually makes sense