What does it mean that his salary doubled?
this means that for example, if it was 1000 dollars, it would be 2000 dollars now, and it if was 2000 dollars, it would be 4000 dollars now.
This can be written down as $2x where x is the initial salary. (so if x=1000, the new salary is 2x=2*1000=2000