I think if the car was to hit a SUV or a Mini Cooper, I would rather hit the SUV. I would hit it because there would less damage and less injuries. A SUV is big and sturdy, and could take a big hit without injuring many of its passengers. However, the Mini Cooper would get demolished. It has good outcomes since there are less deaths from the accident, since the Mini Cooper's passengers would probably die. It also follows the principles since it minimizes harm, benefits others, and respects the lives of the passengers in both cars.
In the second situation, I would rather hit the motorcyclist with a helmet instead of the motorcyclist without a helmet. The motorcyclist with a helmet to help him survive the hit. It has good principles because it minimizes harm to all people since the motorcyclist has a helmet while the other one doesn't, and it benefits the other motorcyclist without a helmet since he would get charged for not wearing a helmet, and it respects him since he needs his money and he shouldn't be charged for that after getting hit by a car that could be prevented by the car hitting the motorcyclist with a helmet. He could also get severe head injuries unlike the other motorcyclist. The outcomes also outweigh the bad outcomes since the injuries to the motorcyclist with the helmet aren't as bad than the ones to the motorcyclist with the helmet.
I think it isn't good to use a random number generator to make decisions. They should be inputted beforehand. For example, it may choose to crash into the Mini Cooper in seconds rather than the SUV. It could kill the people in the Mini Cooper and not the SUV. The car's decisions should be inputted by hand and preference beforehand. For example, if you would rather hit the SUV over the Mini Cooper, you should input it to hit the SUV if you ever came to that moment. You should input a list of what you would want to happen in all these decisions if they ever happened, like what car you would rather hit first, then the next, etc. based on principles to minimize harm to everyone and it benefits other people who don't get hit. Outcomes also play a big role in this because the good outcomes outweigh the bad outcomes, since less people are hurt/killed if you can choose what car you would rather hit based on safety.
The driver should be responsible for any outcomes. The person allows the car to drive itself and they should be aware of their surroundings. The person should stop the car when they see an accident occurring. The car should also warn the driver about possible crashes coming up. If the person stops the car, or turns, or does an act to stop it, it would lead to good outcomes, and no trouble. If the person doesn't do anything to the car, and the car crashes, that person should be held responsible since they didn't do anything to try to prevent the car from crashing. The outcomes are good because the person could live with this his entire life, and people would get mad if he didn't get in trouble from this since he assisted in the killing of a person.