I want to add a dropdown question from my library inside the demographics question
Custom & Contact Group questions are not supported in the Question Library:
You won’t be able to add a question from the library as a sub-question in a survey. The best option (if you want to use the library question) is probably to not use a group question in the survey, and just have the demographics questions separated.
Hope this helps!