While driving on road, the best way to minimize the chances of a pedestrian accident is by staying alert while…