How to extend a variable name to fetch another?
There may be other ways also, but one approach is to use an array with key value pairs, which can be assigned and accessed more dynamically.

{{ sizeVars[imgSize ~ 'x2'] }}


You also might want to check out twigs attribute method.

{{ attribute(array, item) }}


Where 'item' can be a concatenated string.