Answer:
The minimum distance has to be 15ft
Explanation:
Since car A is behind, I am fixing the origin in that point.
Now, let's calculate the position, for both cars at the end of everything, measured from the origin.
I am using this formula for 
For car A:


And we also know that
, So:

For car B:


Replacing the values we get:

To avoid a collision,
, so:
165 ≤ d + 150 If we solve for d: d ≥ 15ft