Position keyframing in After Effects trick

You could parent the Y position to a null and keep the X position to the actual object so you can control their speeds differently without affecting the object’s trajectory and having to really take care both dimension work well together within the same objects