Two Problems In Sub-Riemannian Geometry