P is a point on one side of the straight line UV and P moves…