I googled how to clean water spots off of vehicles
I'm glad you've done some research. Lets work with that.
and I read that hydroflouroric and hydrochloric acids mixed will do the job.
I'd like to see exactly where this information came from. This is the beginning of a bad idea.
I need expert advice on this.
Yes you do.
What the mixture should be,
What did your reference say?
precautions to take,
There are several, but I'd start with not doing this.
and how long can it sit on glass and the body of a vehicle.
The chemicals used to make clear coat are quite resistant when new,
but they do change with time and end up failing to resist the acid. So its hard to give a definitive answer. Diluted HCl could damage the finish instantly. Or maybe bead off a new clear coat or waxed car, so it might work. Or be a disaster. That's the thing, it could work once, on a tiny spot, and be destructive and dangerous afterward.
Or hurt people.
Hydrofluoric acid is pretty dangerous for a layman to use, its not something to spread across an entire vehicle.
I'm given to understand, the "Tire Shine" products are very dilute hydrofluoric acid. I also know that they're supplied as concentrates, which puts the people mixing them at risk. Just a bad idea all around. Also, hydrofluoric acid's ability to dissolve silicates means it will rapidly ruin glass.