Irreversible bimolecular reactions with inertia: from the trapping to the target setting at finite densities