Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.define INVERT_X_DIR false

define INVERT_Y_DIR true
define INVERT_Z_DIR false
In your config.h file. Whatever x and y are currently set to, false or true, make them the opposite. That will reverse the direction for those two motors.