Nerve to pterygoid canal is formed from
In the anterior pa of the foramen lacerum, the greater petrosal nerve unites with the deep petrosal nerve to form the nerve of the pterygoid canal which leaves the foramen by entering the pterygoid canal in the anterior wall of the foramen lacerum. Ref: BD Chaurasia's HUMAN ANATOMY, Volume 3, 4th edition.
Deep petrosal nerve + greater petrosal nerve
Facial nerve
Lesser superficial petrosal nerve
Lesser petrosal nerve
Head and neck