So the angle PAO=90 degrees.
Because the angle BAO=25 degrees
So the angle PAB=90-25=65 degrees.
PA and PB are tangents of circle O.
So PA=PB
So the angle PBA = 65
So the angle P= 180-65-65=50.