Tuning Magnetic Properties of Pentagraphe Bilayers Through Doping with Boron and Oxygen