Compute angle BPC, in degrees.
Since angle(BAC) intercepts the same arc as angle(BPC), angle(BAC) = ½xo.
Adding the interior angles of quadrilateral(ABPC): 20o + ½xo + 20o + (360-x)o = 360o
Solving, we get x = 80o.