Let's consider the following diagram-

Let's assume that vA,vB indicates the distances of the images of objects A and B respectively.
Thus, by mirror formula, for object A, it can be written that
v1+u1vA1+−151vA1vA=====f1(−20)1−201+15160−3+460cm
Similarly, for object B, using mirror formula,
vB1+(−25)1vB1vB=====(−20)120−1+251100−5+4100−1−100cm
Hence, the distance (d) between the images can be calculated as follows:
d===vA+vB(60+100)cm160cm