Creating a twin in hcp using Materials studio

I want to create a twin model in hcp using two methods 

(a) By taking mirror about the twinning plane.

(b) By rotation about an axis. 

Im not able the identify the Miller indices for direction.

How I can write a transformation matrix ?

Edu BIOVIA Materials Studio