I only have 4G of ram in my h170.

The question is: must all the ram be of the same speed or can i mix speeds and if i do then what?