Check out example codes for "get random point within radius". It will help you in understanding the concepts better.

Code Example 1

/// <summary>
/// Returns a random point within a certain radius
/// of a given point
/// </summary>
/// <param name="centerPoint"></param>
/// <param name="radius"></param>
/// <returns></returns>
public Vector3 GetRandomPointInsideCircle(Vector3 centerPoint, float radius)
{
    Vector3 point = Random.insideUnitSphere * radius;
    point.z = 0;
    point += centerPoint;
    return point;
}

Learn ReactJs, React Native from akashmittal.com