The lingual nerve first descends between the tensor veli palatini muscle and the lateral pterygoid muscle, where it is joined by the chorda tympani nerve, and then descends across the lateral surface of the medial pterygoid muscle to enter the oral cavity.