The picture in your post, how should I interpret it?
Are the arrows the current orientation?
How do you want the orientation to be?
The X axis need to be ... (e.g. to the right side???)
The Y axis need to be ... (e.g. in opposite direction???)
The Z axis will is defined by the other 2.