Hello. I assumed the z axis. I chose it randomly, since it's not stated anywhere which one shall I take. By the way, love your answer. It's very detailed.
I took the same formula as in the picture attached (it's a similar problem). But now that you made the analysis it makes more sense. It was...