So you have questions references and answer references (let’s call them Q_REF and A_REF). Then you first take the model that answers, let’s call it MODEL_A and you train it with A_REF. After that, you take MODEL_Q and you train it with Q_REF. Once you have the fine-tuned models you can just have a question as input and produce an answer with MODEL_A, after you can take that answer and you give it to MODEL_Q to have a new question, if I understand correctly.
You can check out the milion examples on how to train a model for Q&A with your own dataset. Or you can start reproducing results with the SQuAD one. Anyway, I never did it so I am not the best to help you on that one.