First, do the uniform acceleration motion with the acceleration of A1, and then do the uniform deceleration motion with the acceleration of A2 According to the meaning of this sentence, A1 × t = A2 × t ', instead of adding a negative sign before A2, right?
Yes, it is, but for the sake of understanding, it is suggested to write it
a1*t+a2*t'=0
When calculating, the minus sign of A2 is brought in