UCS cannot be set up properly.

Hi All.

When I run the attached Lisp, the results are different between BricsCAD and AutoCAD.
As you can see in the attached images Brics.png and Auto.png, the direction of the X axis is reversed.

When I run UCS from the command line, the result seems to be the same, but when I run it from Lisp, the result is reversed.

Can you tell me why and how to fix it?

Thank you.
And I'm not very good at English.
Please write in simple sentences.