I’m developing a radar in which I show some coordinates. But I’m having a math problem I cant resolve. This is the radar:

It has two areas: the safe area (the white one) and the dangerous area (the red one). The radius of the safe area is 30 and the radius of the complete circumference is 100.
I’m developing a functionality that creates random coordinates in the dangerous zone, but for that, I need to do a random of the X and the Y in that area, and I don’t know how to do it. The center is (0,0)
Any tips? Really thanks.
Just use polar coordinates: