Line segment AB has a length of 4 units. It is translated 2 units to the right on a coordinate plane to obtain line segment A′B′. What is the length of A′B′?