how to provide these constraints x,y,z ,rot y,rot z is fixed .... rot x is free

hello everyone I am new to solid works .pls help me out in this case .

I have a model in which one ends X,Y,Z is fixed and rot y ,rot Z is also fixed only rot x is free ....how to apply these constraints in the model

SolidworksSimulation