Arduino UNO R3 using two outputs dependent to different inputs

suction pump is the storage tank filling pump, that is the 1st pump (That logic/codes are working fine with timer and two inputs, Pin#3 & Pin#4. output is Pin#8 for this pump)