How to send two values at a time with xbee

I am making an RC car with gesture control using accelerometer. I have to send the value of X and Y axes from the accelerometer every second to the other arduino via xbee. The problem is the receiver xbee cannot differentiate between those two values and its mixing them up.

Well, that's about as devoid of useful detail as it's possible to be.

The problem is the receiver xbee cannot differentiate between those two values and its mixing them up.

So you uniquely stamp each packet of bytes that send the value so that you can separate them.

Moderator: Cross post removed