All else being equal, the system will run the memory at the lowest common frequency / common bandwidth.
DDR4-xxxx, where the xxxx is a number which indicates the maximum operating frequency of the memory.
For example, if you use two different memory modules, one rated at DDR4-2133 and the other module rated at DDR4-2400, the system will run both modules at the lower of the two frequencies; in this case at 2133 MT/s (MHz).
So mixing different frequency memory modules is not really recommended, as system will run at lower memory frequency (of the two memory modules).