Ram was playing with a convex mirror and a plane mirror. When an object AB is placed in front of the mirrors he could see two virtual images. When the object is placed at a position as shown in the figure, he found that both the images coincide with each other. If the focal length of the convex mirror is 30 cm, find the value of 'x'.