X5 will be X axis moving 5 units which in your case is 5 inches, or rather a command the that position, if you are already at X3 and command a X5 then it will only move 2 inches, that is unless you are in incremental mode (G91)
The F1 is a feedrate command, in your case 1inch per minute.
Hood