Below you can see the front-view size comparison of the Canon G9 X and Olympus XZ-2 iHS. The Canon G9 X is clearly the smaller of the two cameras. Its body is 15mm narrower, 7 mm shorter and 17 mm thinner than the Olympus XZ-2 iHS.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.