My X/Y axis moves the wrong way when I Start

Change the origin from back to front or vice versa. The most common mistake people make is thinking that the homing position and zero position are the same. They often aren’t. On a K40, for example, the limit switches for homing are in the rear left, but X0 Y0 is front left.