Please, help solve the question:
(General Three Dimensional Rotation Rotation Access Paralyl with cordinate access)
 
I want to give an example and the mathematical law to me 
(y & z Axis)
Example of what is required:

I would like an example and the mathematical law of the y, z axis in the same way as the one in the picture.