Gusto Interview Question

Calculate the tax date given 2 rules