No, you select what you want it to be first, than you construct the equation. You can't build the equation first and decide what your variables mean after that.
And in case you will ask again the same question - you know that you have to add HCl becuse you are going to lower the pH. Thus you know you have to calculate amount of HCl, so you assign amount of HCl to variable x and you build the equation to calculate what happens when you add x moles of HCl. Then, knowing final pH, you calculate what vaue of x is needed.