The equation we use is to determine the acceleration of the car, it is a Uniformly Varied Rectilinear Motion (MRUV) is:
![\boxed{\sf{a=(V_(f)-V_(o))/(t)}} \ \ \ \ \ \sf{\longmapsto \ \ \ \ \ Where \ \ \ \ \begin{cases}\sf{V_(f) = Final \ velocity} \\ \sf{V_(o)=Initial \ velocity} \\ \sf{a=Acceleration} \\ \sf{t=Time} \end{cases}}](https://img.qammunity.org/2023/formulas/physics/college/p3uc6roxs0stk9xpgv7lgprqvuonzsdyqw.png)
We extract the data of the problem:
We plug these values into the scalar equation above.
![\sf{a=(V_(f)-V_(o))/(t)}](https://img.qammunity.org/2023/formulas/physics/college/nwqxkxnxu3b6mwk54tdc09lfl3tzx520w2.png)
![\sf{a=(20 \ m/s-40m/s)/(10 \ s) }](https://img.qammunity.org/2023/formulas/physics/college/aah4wnjstgi0o5jvmqp73h5ova7qyd8mqw.png)
![\sf{a=(-20 \ m/s)/(10 \ s) }](https://img.qammunity.org/2023/formulas/physics/college/zk9jc53jnnw3iepjqcubt3bwjibqnpq2qb.png)
![\boxed{\boxed{\boldsymbol{\sf{a=-2 \ m/s^(2) }}}}](https://img.qammunity.org/2023/formulas/physics/college/tehsxr9vij65lnzpanrf3jw3fl154nsuqe.png)
Rpta: The acceleration of the car was -2 m/s^2.