Do you know about rotation matrices?
You haven't given enough information to define a particular problem. If we do rotations about two axes, the order in which we do them will matter. And if we try to perform some continuous motion where we do instantaneous rotation about two different axes at the same time, that is a completely different matter. If you are trying to solve a problem based on some definite physical situation, it would be best to state the situation completely.