Apple Interview Question

Given read and write freq, how to calculate FIFO depth?