AB is a straight line in which OC is standing means OC is perpendicular To AB.
So
OF perpendicular to AB then,
O is the M.p of AB, AngLe BOC=Angle AOC
BOC=90 degree becoz oc perpendicular to AB.
Boc+Aoc=180 (linear pair).
2AOC=180degree
AOC=180/2=90degree.
then angleBOC =90 degree.
hence proved.