2 IR sensor readings

The IR sensor is a TCRT500, I am taking the reading of two sensors from pin A2 and A3, and I am making a kalman filter algorithm and I used the same for both reading except the last one I made two separate equations and then I did serial print for each.

The Arduino I am using is a Nano Arduino.

The issue as stated both equations are taking readings from only one sensor, The other sensor is giving reading too but it's not accurate