How to set up a rectangular coordinate system for a pyramid whose base side length is 5, root 2, and side edge length is 13?

How to set up a rectangular coordinate system for a pyramid whose base side length is 5, root 2, and side edge length is 13?

If the bottom is a square, the center is the left inner fixed point, the height is the Z axis, the outer side is the X axis, and the left side is the Y axis