I am trying to link the response to a question based on the previous question

@lakshayjain, this post discussed previously should help you solve your issue: