If you considered the cube to be 1m^3 , the time at which the cube enters the orange portal t1, and the time at which the cube fully exist the blue portal t2, then the speed of the cube relative to the world outside of the blue portal would be 1m / (t2-t1).
Assuming the cube maintains this speed after exiting the blue portal, it would behave as in scenario B.
If you considered the cube to be 1m^3 , the time at which the cube enters the orange portal t1, and the time at which the cube fully exist the blue portal t2, then the speed of the cube relative to the world outside of the blue portal would be 1m / (t2-t1).
Assuming the cube maintains this speed after exiting the blue portal, it would behave as in scenario B.