Gusto interview question

Calculate the tax date given 2 rules