The key is to have a triangle CPD, that is, to have a point D, that is, to have the intersection of two circles.
If there are intersections, the following conditions must be met: the radius is only
Namely: (6-x)-2
Solution: 2