Notice that 2cm*5cm*10cm=4cm*5cm*5cm, then the volumes of both rectangular prisms are equal. On the other hand, notice that one of the prisms has a square face but the other one does not, therefore they cannot be similar nor congruent.
Answer: First option, equal volumes only.