The correct options are
A Metres
B Kilometres
A distance is usually described using the physical quantity 'length'. Hence, the unit of distance is the same as unit of length, which is a fundamental quantity.
Here, metres and kilometres are units of length. Hours is a unit of time and kilograms is a unit of mass.