MPU 6050 vs ADXL 345

I accidently bought MPU 6050 instead of ADXL 345.
ADXL 345 has 5 pins lablled x,y,z.
MPU 6050 is a bit complex with 8 pins and not any of them lablled x,y,z.

Which pins should be used as an x and y?

http://playground.arduino.cc/Main/MPU-6050 ?