Oscillating Fan

Hi, I have been trying to animate an oscillating fan, but I can only get either the fan blades to rotate or the fan to rotate side to side, but I can get both to work at the same time. I'm using a rotary motors to try and rotate both parts. Does any one know if I can have different parts rotating at the same time and if that is possible how can I do it, thank you.

SolidworksMotion Studies