Boyfriend gave someone Xanax at work Watch
It's stupid of him to give prescribed medication to someone in general. They can have allergies and it's generally a bad idea. The guy is an idiot for taking a new medicine whilst in work, but your boyfriend will be viewed as the instigator and he may receive a warning or get fired.
Yep, probably. He'll probably get done with supplying of a controlled drug. And the friend which did cocaine will probably get done for possession of Class A drugs and intent to supply.
Providing there is enough evidence in both scenarios.