How to align a Mesh with vertex positions?

Hello

I want to create a Goldberg Polyhedron with 3D Tiles.

I have already an algorithm that creates all tiles with its vertex positions.
It also works when i create the individual meshes at runtime.

However, this way I end up with thousands of individual meshes that i cant use for GPU instancing.

For that, i want to use the same Hexagon/Pentagon mesh and just modify its transform, so that it matches its Vertex positions.

However this is where my math falls apart. :face_with_spiral_eyes:

The theory it should be enough to only compare the first 3 vertices and calculate the needed offset/scale/rotation?

Thanks!