Given 2x = 4, what is the value of x?​