I think it's by definition that CP and CQ are the same, line p denotes the circle, which has rise/slide df/dx as sin/cos which is tangent of the angle at P, which is the same angle as the dotted line makes with the x axis. If line p wasn't a radius, the slope would not be tan.