Given the speed of car A and C is
The relative speed of car A with respect to car C is,
The relative speed of car B with respect to car A is,
The time taken by the car C to cover the distance of
Substitute the required value in the above expression.
Let
The second equation of motion is,
Substitute the required values in above expression.
Thus, the required minimum acceleration of car B to avoid an accident is 1 ms-2.