Answer:
1 ft away from the motion detector.
Explanation:
To calculate Xavier's distance we can assume that the motion detector would be represented as 0ft. Now we simply need to create the arithmetic expression for every step/action that Xavier performed. Finally, we would solve the expression to calculate Xavier's total distance from the motion detector.
5ft + (0.5ft * 4) + (-2ft * 3)
5ft + 2ft - 6ft
1ft
Finally, we can see that Xavier is 1 ft away from the motion detector.