question logic at the end of the survey, based on question answers on earlier pages

question logic at the end of the survey, based on question answers on earlier pages


I want to  logic into my survey (at the end on the last page) and would like to add a question logic, using a particular answer entered in a previous page or based on an incoming parameter. 

Eg, if the answer for question A on page 1 was equal to 'A', I want to insert an extra question at the end of the survey (on the last page) 

How can this be done? 

Thank you