Motrin and hydroxyzine ?

Is it safe for an 18 month old to take motrin and hydroxyzine together ? The doctor said he can take Tylenol and hydroxyzine but I forgot to ask about motrin and he is sick so I wanted to rotate between Tylenol and motrin