The quantity $x$ represents how the total distance (measured in escalator-steps) he will travel over the time period it takes him to take one step. When he takes his first step on the escalator, he moves up one escalator-step, plus however far the escalator has moved him in that time. Thus, we could write $x=1+y$ where $y$ is the distance (measured in escalator-steps) the _escalator_ moves him the time period it takes him to take one step.
When he decides to take two steps at a time, in each human-step-time-period he now moves up $2$ escalator-steps under his own power (it doesn't say that explicitly, but I think we are supposed to assume it), plus the aid of $y$ escalator-steps provided by the escalator. Thus, if it now takes him $12$ human-step-time-periods to reach the top, we know that the total distance he traveled is $12(2+y)=12(1+x)$.