In the given figure, PQ is the diameter and O is the center of the circle. Find the value of x.
In the given figure, AB is the diameter of the circle. Find the value of x.