Based on what I see, there’s no reason why you couldn’t roll these both into a single page. (Ie. use a tabbed group to set the state of the page). That’d make it significantly easier for you to reference a common state value.
Otherwise, if you want to keep two separate pages, you can pass the current question as a URL parameter. (ie. current_question=unique id of the state of the current question). Then, on page load on the respective page, you have a “when page is loaded” that sets the custom state of the current question based on the URL parameters value.