Supermarket Simulator Shelf Mechanics

Can you tell me please how have you done that X and Y variables all in one?