In the circuit shown below, calculate the value of x if the equivalent resistance between the points A and B is 4Ω.