2MOTOR for Arduino Nano Installation Help

Thank you, johnwasser for a very helpful reply. Another question, are heat sinks necessary with this design? I'm under the impression that they aren't needed and the arduino will realize when it is too hot.

Also how would I get the motors to react based off the values I receive from a digital distance sensor?

Thanks again,
Ejay