This is the solution to "A tiny math problem".
Just a tiny alteration in the drawing is needed to understand what to do. Perhaps you wanted to do a very big calculation using Pythagoras etc.? But it's much easyer: As you see, the length of line x equals the radius R of the quarter arc.