Orientation based on mesh

I need to find the orientation of the plane(mesh) created on 4 points (2 triangles).

And I want to rotate another game object to match rotation from this plane.

google don’t help

I found solution:
https://gamedev.stackexchange.com/questions/202242/calculate-normal-and-plane-orientation-using-4-3d-points