From a place 400m north of X, a student walks eastwards to a place Y which is 800m from X . What is the bearing of X from Y

AAAaannndd the bot gets it wrong yet again!

X is west of Y, so 270°

The bearing of X from Y is 90° (due east).