How to "Mate" two sides?

If I have two shapes, I want to connect them together by two sides, but those two sides are not aligned or in a same angle. How to quickly and easily mate them together (automatically rotate the shape to make those two sides parallel and stick together)? Thanks. For example, I want to make a five-pointed star with one pentagon and five triangles. How to connect each triangle to the pentagon? 


Please sign in to leave a comment.