Update ex7_31.cpp

 Y has an object of type X，
So i think :"X x2" is better than a point to X.